I segregate numeric characters from a string of mixed characters inside a cell.
Function xxx(str As String) As String
Dim strarr() As String
str = Replace(str, ".", " ")
strarr = Split(str)
Dim i As Long
For i = 0 To UBound(strarr)
If strarr(i) Like "[A-Za-z0-9]" Then
numfromstring = numfromstring & "," & strarr(i)
End If
Next i
numfromstring = Mid(numfromstring, 2)
End Function
How can I do the same for alphanumeric characters?
Get Alpha-Numeric UDF