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
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
________
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.