Look at the following code
VB Code:
If 36 Then MsgBox "START" If 65 Then MsgBox "END" If (36) And (65) Then MsgBox "BOTH"
The first two IF statements validate. However, the last one does not. Why is it doing that? Isn't that how AND is suppose to work?




Reply With Quote