ic
asked on
Select in range in VBScript
How do I select within a range in VBScript?
*************************
Dim intInteger
intInteger = 5
Select Case intInteger
Case 1 to 5
'do something
Case 6 to 10
'do something else
End select
******************
Also tried with Cint(intInteger) and tried many strategies like
1 or 2 or 3 or 4 or 5
and
>0 & <6
etc.
Did we just get shafted on this one, or is something I'm missing?
Thanks
ic
*************************
Dim intInteger
intInteger = 5
Select Case intInteger
Case 1 to 5
'do something
Case 6 to 10
'do something else
End select
******************
Also tried with Cint(intInteger) and tried many strategies like
1 or 2 or 3 or 4 or 5
and
>0 & <6
etc.
Did we just get shafted on this one, or is something I'm missing?
Thanks
ic
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.