Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
If Instr ("one","two","three",variable)>0 Then
Dim StrVar As String
Select Case StrVar
Case "one", "two", "three"
'Do something
Case "four", "five", "six"
'Do something
Case Else
'Do something
End Select
If InStr("one,two,three", variable) > 0 Then
ValidValues = Array("one", "two", "three")
'negative check
If UBound(Filter(ValidValues, variable, True, vbTextCompare)) = -1 Then 'not one, two nor three
'do your stuff here
Else
'you have one, two or three
'do your stuff here
End If