I have found the following module code which removes alpha characters from an alphanumeric string
However I would like to do the opposite - i.e. remove numeric characters leaving only alpha characters. I'm sure this is a simple task but I am quite new to this. thanks
Function RemoveAlphas (ByVal AlphaNum as Variant)
Dim Clean As String
Dim Pos, A_Char$
Pos = 1
If IsNull(AlphaNum) Then Exit Function
For Pos = 1 To Len(AlphaNum)
A_Char$ = Mid(AlphaNum, Pos, 1)
If A_Char$ >= "0" And A_Char$ <= "9" Then
Clean$ = Clean$ + A_Char$
End If
Next Pos
RemoveAlphas = Clean$
End Function
However I would like to do the opposite - i.e. remove numeric characters leaving only alpha characters. I'm sure this is a simple task but I am quite new to this. thanks