P
Pal
I have the following code in a worksheet.
I am looking to test for a change in cell N2.
But nothing happens. If N2=5 and I change it to 10 then I thought the msgbox
would
popup but it does not.
Thanks
Pal
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$n$2" Then
MsgBox "Do something "
End If
End Sub
I am looking to test for a change in cell N2.
But nothing happens. If N2=5 and I change it to 10 then I thought the msgbox
would
popup but it does not.
Thanks
Pal
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$n$2" Then
MsgBox "Do something "
End If
End Sub