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
āļ´āļģāˇāļ¸āˇāļāˇāļąāˇ:
Expression: āļāļļāļ§ āˇāˇāļģāˇāˇāļ¸āļ§ āļ āˇāˇāˇâāļēāļē āļāļąāˇāļ¸ āļāļąāˇāļāˇāļ¸āļē āˇāˇ āˇāļāļāˇâāļēāˇāļāˇāļ¸āļ āļ´āˇâāļģāļāˇāˇāļąāļēāļāˇ.
āļāļ¯āˇāˇāļģāļĢāļē:
Sub ExampleIsNumeric
Dim vVar As Variant
vVar = "ABC"
print IsDate(sDateVar) REM Returns False
vVar = "123"
print IsDate(sDateVar) REM Returns False
End Sub