smuthcrmnl777
Technical User
Code:
Mid([line-sample],InStr([line-sample],'-')+1)
This code returns values to the right of the '-'.
How can I make sure that I only return numeric values and omit the letters?
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.
Mid([line-sample],InStr([line-sample],'-')+1)
Function NumOnly(strString)
Dim strNumString
If IsNull(strString) Then
Exit Function
End If
For i = 1 To Len(strString)
If IsNumeric(Mid(strString, i, 1)) Then
strNumString = strNumString & Mid(strString, i, 1)
End If
Next
NumOnly = strNumString
End Function