IsNumeric Function
Tests if an expression is a number. If the expression is a number, the function returns True, otherwise the function returns False.
Синтакса
IsNumeric (Var)
Врати вредност:
Bool
Параметри:
Var: Any expression that you want to test.
Пример
Sub ExampleIsNumeric
Dim vVar As Variant
vVar = "ABC"
Print IsNumeric(vVar) REM Returns False
vVar = "123"
Print IsNumeric(vVar) REM Returns True
End Sub