Thread
:
AddSpaceAfterComma
View Single Post
#
2
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
AddSpaceAfterComma
Sub addspaceaftercomma()
For Each c In Selection
f = InStr(c, ",")
c.Value = Left(c, f) & " " & Right(c, Len(c) - f)
Next c
End Sub
--
Don Guillett
SalesAid Software
"gh" wrote in message
...
I am using Excel 97 and have a column with names Like below:
Lastname,John A
How can I get a space between the comma and firstname?
Lastname, John A
Thanks
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett