View Single Post
  #1 (permalink)  
Old November 5th, 2004, 03:48 PM
mmcdonal mmcdonal is offline
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default If A OR B OR C Then...

I wanted to know if anyone knows of any syntax that will allow me to do the following flow control...

If strVariable <> "value" Or <> "secondvalue" Or <> "etc" Then
   <Statement>
End If

I thought I had seen something like this before, but it doesn't seem to work.

Thanks,


mmcdonal
__________________
mmcdonal

Look it up at: http://wrox.books24x7.com
Reply With Quote