rmccafferty
Aug 2, 2008, 03:46 PM
I tried to insert the following code into an Excel macro
If Range("m1") = "" Then
MsgBox ("Number of Units is blank")
End If
I am doing something wrong, because I get the msgbox whether cell m1 is empty or not. Can anyone help me with the correct syntax?
If Range("m1") = "" Then
MsgBox ("Number of Units is blank")
End If
I am doing something wrong, because I get the msgbox whether cell m1 is empty or not. Can anyone help me with the correct syntax?