I am trying the following code
Code: Select all
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Address = "$P$4" Then
Cancel = True
Target.Interior.Color = Not Target.Interior.Color = vbCyan
End If
End Sub