is it possible to use the Not operator in Cases?
Case and Not operator?
Collapse
X
-
Tags: None
-
Im not sure, but you can use IS <> or IS < or IS >Originally posted by halo combat22is it possible to use the Not operator in Cases?
e.g.
[CODE=vb]dim a as string
a= "Option Two"
select case a
Case Is <> "Option One"
msgbox "Its not Option One, its " & a
case else
msgbox "Its Option One"
end select[/CODE] -
Comment