Is it possible to have a Select Case statement that checks against multiple values?
Instead of this:
Is there something like this:
Thanks In advance...
mwa
<><
Instead of this:
Code:
Select Case strValue
Case "XXX"
'Do Something
Case "YYY"
'Do the same thing
Case "ZZZ"
'Do the same thing again
Case Else
'Do something Different
End Select
Code:
Select Case strValue
Case ("XXX", "YYY", "ZZZ")
'Do something
Case Else
'Do something Different
End Select
Thanks In advance...
mwa
<><