Inserting and deleting spaces with a macro
"NickHK" schreef in bericht
...
Assuming the only comma and space are as indicated, this UDF should do it.
Public Function FixName(argRange As Range) As String
FixName = Replace(Split(argRange, " ")(0), ",", ", ")
End Function
Way to go.
|