Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Another help with vbscript

Status
Not open for further replies.

fterrazas

Technical User
Dec 29, 2000
43
ES
I want to know how can I do a "CASE" function with vbscript or there is a case command? I know that javascript have it but what about vbscript? Thanks
 
the case statment is

Select Case MyVariable
Case value1,value2,...,valueN
'put code here
Case othervalue1
'put code here
Case othervalue2
'put code here
Case Else
'put code here
End Select
________

George
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top