how to export a text file with text qualifier

Flicker

New Member
Joined
Feb 19, 2009
Messages
45
I did a search but it seems I can't get the answer I want to save an excel file as a text file but I want all text should have text qualifier (double quote " ") for each text in each cell. I try many format but it seems that the text file does not have text qualifier. I did not know what I did wrong. Maybe Excel cannot export as a text file with double quote. Example data in Excel aaa bbb1 cc c Example data in text file that I expect "aaa" , "bbb1" , "cc c" or "aaa" "bbb1" "cc c"
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Excel csv does not include those double quotes around all fields - only numbers or text with commas in them, I think. Here are some solutions. I'm sure I've seen a few here at MrExcel too but I haven't saved the links (I'm sure BrianB has a thread on this somewhere, for instance).

I've not tried the utility from calagday but it may be worth a shot - I'm not familiar with the site/blogger though. vbaexpress and mcgimpsey have published lots of good code and are trustworthy (if you can implement their vba solutions). ****'s clicks is also good (offhand, I'm not sure the code there allows for text qualifiers with double quotes though - but it could probably be modified for that).

http://www.calagday.com/?p=50
http://vbaexpress.com/kb/getarticle.php?kb_id=805
http://www.dicks-blog.com/archives/...http://www.mcgimpsey.com/excel/textfiles.html

Edit:
Some reading on csv in general here:
http://www.csvreader.com/csv_format.php
 
Last edited:
Upvote 0
Solution

Forum statistics

Threads
1,215,500
Messages
6,125,166
Members
449,210
Latest member
grifaz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top