G
Guest
I want to run a macro if cell a1 does not equal b1.
Private Sub Worksheet_Change(ByVal Target As Range)
If (a1 <> b1) Then
Macro1
End If
End Sub
When I use an equal sign the macro runs every time and when I use the not
equal it won't run at all.
Thanks for the help!
Private Sub Worksheet_Change(ByVal Target As Range)
If (a1 <> b1) Then
Macro1
End If
End Sub
When I use an equal sign the macro runs every time and when I use the not
equal it won't run at all.
Thanks for the help!