I'm new so sorry if this is a dumb question. I want to have an If statement stating if variable a is an element of a set of some integers then... Would it work if I write:
If a=1,6,12,19 Then
or would I have to write
If a=1 Or a=6 Or a=12 Or a=19 Then
Public Function test(a) Select Case a Case 1, 2, 3, 4, 5, 6 'do something End Select End Function