TOM R
Well-known Member
- Joined
- Oct 7, 2006
- Messages
- 731
Hello Members, I been trying to code a macro below without luck. What I like to do is if cell H3 is Greater than cell A35 to promt the message box below. But if less than do nothing. And if possible if less than to look at sheet 2 cell A35 and do the same.
Regards, Tom
Code:
If WorksheetFunction.Sum(Range("H3") >= ("A35")) Then Exit Sub
MsgBox "QTY. MUST BE GREATER THAN END FEQUENCY", vbOKOnly
Regards, Tom