In VBA the closest I could get to a construct of:
Expand|Select|Wrap|Line Numbers
- If myVar in("abc", "def", "hgi") then
- 'insert code here
- End If
Expand|Select|Wrap|Line Numbers
- Select Case myVar
- Case "abc", "def", "hgi"
- 'insert code here
- End Select
myVar = "abc" or myVar = "def" or myVar = "hgi" etc... with something like:
fnIn(myVar, "abc", "def", "hgi"... (string array)...)