Returns a Boolean value indicating whether an expression can be evaluated as a number.
IsNumeric(expression)
The expression argument can be any numeric or string expression.
IsNumeric returns True if the entire expression is recognized as a number; otherwise, it returns False.
IsNumeric returns False if expression is a date expression.
IsArray Function, IsDate Function, IsEmpty Function, IsError Function, IsMissing Function, IsNull Function, IsObject Function, TypeName Function, Variant Data Type, VarType Function.
This example uses the IsNumeric function to determine if a variable can be evaluated as a number.
MyVar = "53" ' Assign value.= IsNumeric(MyVar) ' Returns True.= "459.95" ' Assign value.= IsNumeric(MyVar) ' Returns True.= "45 Help" ' Assign value.= IsNumeric(MyVar) ' Returns False.