View Single Post
  #3 (permalink)  
Old 06-21-2008, 10:21 PM
badkarma badkarma is offline
Senior Member
 
Join Date: Mar 2008
Posts: 114
Default

I guess (me again stating the obvious) that you could kludge it ...

Quote:
sub Main()

CheckMyNum

Select Value
Case "0033": do this
Case "3470": do that
Case Else: do theother
End Select

End Sub

sub CheckMyNum()
Value = "Else"
if mynum >=0 and mynum <=33 then value = "0033"
if mynum >=34 and mynum <=70 then value = "3470"
end sub

Last edited by badkarma : 06-21-2008 at 10:24 PM.
Reply With Quote