Here is a easy solution if by "numbers" you mean [0..9] not including "."
function Delete0to9(byval s as string) as string
dim i as integer
for i = 0 to 9
s=replace(s, cstr(i),""
next i
Delete0to8 = s
end function
I think Replace function allow you to replace all instance. If not, you have to check if numbers still exist and replace repeatly.
If your VB or VBA does not support Replace, check MS site:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.