IsNumeric Function
Tests if an expression is a number. If the expression is a number, the function returns True, otherwise the function returns False.
Sintaksa:
IsNumeric (Var)
Povratna vrijednost
Boolean
Parametri:
Var: Any expression that you want to test.
Primjer:
Sub ExampleIsNumeric
Dim vVar As Variant
vVar = "ABC"
Print IsNumeric(vVar) ' False
vVar = "123"
Print IsNumeric(vVar) ' True
End Sub