hi engineerlady, welcome to the forum. you don't have to do it with VBA. select column A & go to Data -> Text to Columns -> Delimited -> Next -> check "Space" & "Comma" -> Finish
that will separate the data by commas & spaces. if you need VBA, here's a recorded version:
Sub Test()
Columns("A:A").TextToColumns Destination:=Range("A1"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=True, Tab:=False, _
Semicolon:=False, Comma:=True, Space:=True, Other:=False, FieldInfo:= _
Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1)), TrailingMinusNumbers:= _
True
End Sub
Bookmarks