VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RE: Err...DOH! Adam Hoult (4 replies, 0 views) (2000-Jul-7) Ooops sorry, I read it that you wanted to check the variant type.
Anyway you could do something simple like this
If Val(MyVar) <> MyVar Then MsgBox "NotNumber !!"
Thats straight off the top of my head btw, and isn't the most efficient way of doing it due to two lots of type changes, but it's an easy way to do it.
Adam
|