g***@gmail.com
2014-12-27 17:03:30 UTC
Hi All,
I am trying use operator OR but does not work. The coding below;
'---------------------------------
If Text1.Text <> "12" Or "53" Or "32" Or "63" Or "65" Then
MsgBox "Incorrect", vbCritical
Else
MsgBox "Correct", vbInformation
End If
'---------------------------------
Anyone can solve my issue. Thanks in advance
Regards,
Andre
I am trying use operator OR but does not work. The coding below;
'---------------------------------
If Text1.Text <> "12" Or "53" Or "32" Or "63" Or "65" Then
MsgBox "Incorrect", vbCritical
Else
MsgBox "Correct", vbInformation
End If
'---------------------------------
Anyone can solve my issue. Thanks in advance
Regards,
Andre