View Single Post
  #2 (permalink)  
Old November 9th, 2004, 07:01 AM
happygv happygv is offline
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi mmcdonal,

You were missing the strVariable for each condition.
Code:
If strVariable <> "value" Or strVariable <> "secondvalue" Or strVariable <> "etc" Then
   <Statement>
End If
Else you can try using SELECT CASE. Check VBScript documention on that.

Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection
Reply With Quote