Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
? isnumeric("002.5E-7")
True
? isnumeric("-002.5D+7")
True
? isnumeric("3+2")
False
Public Function BetterIsNumeric(ByVal Value As String) As Boolean
If Value Like "*[!0-9.]*" Then
BetterIsNumeric = False
Else
BetterIsNumeric = True
End If
End Function
Public Function IsNum(ByVal InVal As String) As Boolean
IsNum = (StrComp(Trim(InVal), Val(InVal), vbTextCompare) = 0)
End Function
Public Function IsNumeric(ByVal Value As String) As Boolean
IsNumeric = False
If VBA.IsNumeric(Value) Then
If Not (Value Like "*[deDE]*") Then
IsNumeric = True
End If
End If
End Function
Public Function IsNumeric(ByVal Value As String) As Boolean
IsNumeric = VBA.IsNumeric(Value [!]& "e0"[/!])
End Function