I have code that pops up a message box when cell F1 equals cell F5 working fine, but i would like the message box to only pop up if F1 has increased in value to equal F5.
F5 = 33.
F1 =COUNT(E8:E37,I8:I37,L8:L37,O8:O37,R8:R37)
So, if F1 changes from 32 to 33, the message pops up, but if F1 changes from 34 to 33, nothing happens.
Is this possible?
Thanks
This is the beginning of the sub routine that i currently have:
F5 = 33.
F1 =COUNT(E8:E37,I8:I37,L8:L37,O8:O37,R8:R37)
So, if F1 changes from 32 to 33, the message pops up, but if F1 changes from 34 to 33, nothing happens.
Is this possible?
Thanks
This is the beginning of the sub routine that i currently have:
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("F1").Value = Range("F5").Value Then
Result = MsgBox("END OF ROUND" & vbNewLine & "Click 'OK' to start new round and save this round" & vbNewLine & "Click 'Cancel' ONLY to make changes to current round", vbOKCancel + vbCritical, "End of Round")
If Result = vbOK Then