I have a Macro that is checking a multitude of cells before submission of a form.
For a specific set of data I am trying to use the following:
ElseIf Range("B31") <> "" & Range("C31") = "" Then
MsgBox "Please enter a Sell Price for your first item"
Range("C31").Select
Basically, if the account manager has entered an item number but forgot to enter a price I want the macro to stop and a MsgBox reminder to appear.
For a specific set of data I am trying to use the following:
ElseIf Range("B31") <> "" & Range("C31") = "" Then
MsgBox "Please enter a Sell Price for your first item"
Range("C31").Select
Basically, if the account manager has entered an item number but forgot to enter a price I want the macro to stop and a MsgBox reminder to appear.