From: Cor Ligthert[MVP] on 5 Mar 2010 11:39
To make it more confusing and to be before Herfried (which is already for
years answering this question),
You would define was is a number, if you mean it are only characters 0 to 9,
then IsNumeric is not what you want, because it accept also numbers with
exponents and hex numbers.
"Saga" <antiSpam(a)nowhere.com> wrote in message
>> You are confusing VisualBasic with VisualBasic.Compatability.
>> VisualBasic is
>> the core VB language functions and are meant to be used -
>> VisualBasic.Compatability is there for easier conversion of legacy code
>> should be avoided.
> Yes, I am confusing them. Thanks both for the clarafication!
>> Tom Shelton
From: Saga on 10 Mar 2010 10:37
Thanks for the reply Cor,
> You would define was is a number, if you mean it are only characters 0 to
> 9, then IsNumeric is not what you want, because it accept also numbers
> with exponents and hex numbers.
Yes, you are correct. Knowing the valid data that IsNumeric will classify
as a valid number has kept me away from this function, except for the
simplest of number validation (works great if the data is only 1 char).
Thanks for your input! Saga