G
Guest
This sounds so easy, and probably is, but how do I select something based on
not just one value but several? I am trying to write a Select Case statement
and I want to be able to say based on several numbers choose this.
Case 1 or 5
....
Case 3 or 7
.....
I noticed that I can't use the Or logical method, as that refers to an
expression compared to an expression. I want the cases to equal numbers, so
the Or method fails. Is the only way to do this, to write out 4 Case
selection instead of trying to do it in 2? Thanks.
Kou
not just one value but several? I am trying to write a Select Case statement
and I want to be able to say based on several numbers choose this.
Case 1 or 5
....
Case 3 or 7
.....
I noticed that I can't use the Or logical method, as that refers to an
expression compared to an expression. I want the cases to equal numbers, so
the Or method fails. Is the only way to do this, to write out 4 Case
selection instead of trying to do it in 2? Thanks.
Kou