Hi
How do check if H2 = B2 and have a message if not , I have this so far.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "H2" Then
If Target.Value <> "B2" Then
MsgBox "Wrong Sku!"
End If
End If
End Sub
Would like it to work on all cells in H and B
How do check if H2 = B2 and have a message if not , I have this so far.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "H2" Then
If Target.Value <> "B2" Then
MsgBox "Wrong Sku!"
End If
End If
End Sub
Would like it to work on all cells in H and B