Select Case ...End Select

hi,

how to put statement with "Or" in select case block?

example:

Select Case a
  Case "1" Or "3" or "5"
    ....
  Case "2" or "4" or "6"
    ...
End Select


thanks.
icecoolAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
corvanderlindenConnect With a Mentor Commented:
select case a
case 1,2,3
case 10 to 100
case Is > 100

and so on

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.