Saving as a text file with quotes AND commas

J

John

I need to have a text file with quotes and comma delimited i.e.
"C1","Anne","1429" etc.
The file exists as a comma delimitted text file. I open it in Excel
and add quotes using a vba macro.
If I save it as a .csv file it adds another set of quotes. If I don't
put the quotes in with the macro and save it as .csv it doesn't add
any quotes. If I save it any other way it doesn't have commas. HELP!!
 
K

Kathy

-----Original Message-----
I need to have a text file with quotes and comma delimited i.e.
"C1","Anne","1429" etc.
The file exists as a comma delimitted text file. I open it in Excel
and add quotes using a vba macro.
If I save it as a .csv file it adds another set of quotes. If I don't
put the quotes in with the macro and save it as .csv it doesn't add
any quotes. If I save it any other way it doesn't have commas. HELP!!
.

Have you tried saving it as an excel workbook?
 
J

John

I need to have a text file with quotes and comma delimited i.e.
"C1","Anne","1429" etc.
The file exists as a comma delimitted text file. I open it in Excel
and add quotes using a vba macro.
If I save it as a .csv file it adds another set of quotes. If I don't
put the quotes in with the macro and save it as .csv it doesn't add
any quotes. If I save it any other way it doesn't have commas. HELP!!

Thank you, the Text Write program did the trick.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top