I have a file and am looking in column E and G. If Column E="Bob's" and column G="1234", I'd like a message to pop up stating "abc". How do I write this. I have the code below, but that only looks at individual columns.
Sub Bob's()
If Range("E3:E30").Value = "Bob's" Then MsgBox "If this Bob's order is for a 1234, 5678 or 9101, ensure the appropriate dish setting."
If Range("G3:G30").Value = "1234" Then MsgBox "If this 1234 order is for Bob's, ensure appropriate dish setting."
End Sub
Sub Bob's()
If Range("E3:E30").Value = "Bob's" Then MsgBox "If this Bob's order is for a 1234, 5678 or 9101, ensure the appropriate dish setting."
If Range("G3:G30").Value = "1234" Then MsgBox "If this 1234 order is for Bob's, ensure appropriate dish setting."
End Sub