I was playing around and this seems to work like I wanted:

----------
X = 1
Y = 2
If X = 1 And Y = 2 Then
MsgBox "YES"
End If
----------

Is there anything else I should know about doing something like this?

Thanks!