View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jeff @ CI Jeff @ CI is offline
external usenet poster
 
Posts: 3
Default modifying a string

I have an excel file which contains one column of information - Zipcode City
AreaCode (12345 Somecity 678) - all in one string per record. I need to
break the string into three columns. Given that a city can have one, two,
three or more words in its name, I am not sure how to simply have a macro
edit the string by inserting a comma after each part of the string - export
to a text file and then import as a csv. I really don't want to manually
edit all 30,000 strings if I can find a way to get around it.

Any ideas?

TIA

Jeff