Hello,
I am trying to insert a macro that will pop up a message when a condition is met. I use the following code:
However, it doesn't seem to work. It actually cannot be saved in my macros.
Can someone help?
Regards
Andreas
I am trying to insert a macro that will pop up a message when a condition is met. I use the following code:
Code:
Sub Worksheet_Change(ByVal Target As Range)
If Range("B4").Value < Range("C4").Value Then
MsgBox ''Limit has been reached''
End If
End Sub
However, it doesn't seem to work. It actually cannot be saved in my macros.
Can someone help?
Regards
Andreas
Last edited by a moderator: