I'm trying to replace a cumbersome multiple OR statement with an IN statement, but it is erroring out (in A2K).
Instead of this code:
If str = "A" OR str = "B" OR str = "C" OR str = "AB" OR str = "BC" Then
'do stuff
End If
I'd like to use this code:
IF str IN ("A", "B", "C", "AB, "AC")...