CASE - checking for a range ?

TWELVE

Active Member
Licensed User
Hello,

my forum search did not present a solution, so 'm sorry if the answer is already somewhere in a post.

Can i make CASE checking for a range of numbers instead of a single number..?

Example:

Select Value

Case 0-33: do something

Case 34-70:do something else

End Select

This means: if value is somewhere in the range between 0 to 33, then...


Is this possible..? and if so, how is the correct syntax for this..?an
If not, how can i check for a range without tons of If..then statements..?



cheers

TWELVE
 
Top