Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to stop Excel from inserting quotation marks into TXT files

When I save an Excel file as a Text Tab delimited file, the resulting file
has quotation marks inserted at the front and back of any line which
contained a comma. Also, any quotation marks in the original file are
duplicated around the original quotation marks.

===================
For example this:
asd asd, asd asd asd asd asd
becomes:
"asd asd, asd asd asd asd asd"
and this:
asd asd "asd" asd asd asd asd
becomes:
asd asd ""asd"" asd asd asd asd
===================
Is there a way to keep Excel from doing this?

Thanks for your help with this.

Regards,
Dan Falk
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to stop Excel from inserting quotation marks into TXT files

You could use a macro and write code and have complete control over what you
write.

Here are three sites that you could steal some code from:

Earl Kiosterud's Text Write program:
www.smokeylake.com/excel
(or directly: http://www.smokeylake.com/excel/text_write_program.htm)

Chip Pearson's:
http://www.cpearson.com/excel/imptext.htm

J.E. McGimpsey's:
http://www.mcgimpsey.com/excel/textfiles.html

Dan Falk wrote:

When I save an Excel file as a Text Tab delimited file, the resulting file
has quotation marks inserted at the front and back of any line which
contained a comma. Also, any quotation marks in the original file are
duplicated around the original quotation marks.

===================
For example this:
asd asd, asd asd asd asd asd
becomes:
"asd asd, asd asd asd asd asd"
and this:
asd asd "asd" asd asd asd asd
becomes:
asd asd ""asd"" asd asd asd asd
===================
Is there a way to keep Excel from doing this?

Thanks for your help with this.

Regards,
Dan Falk


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
without quotation marks? jfazz Excel Discussion (Misc queries) 1 March 2nd 06 04:43 PM
quotation marks JohnF Excel Worksheet Functions 7 February 5th 06 09:33 PM
Inserting Quotation Marks in all Cells confused Excel Discussion (Misc queries) 4 October 19th 05 01:49 PM
inserting quotation marks dave glynn Excel Discussion (Misc queries) 2 June 17th 05 09:17 AM
Excel Quotation Marks! MaxFrance Excel Discussion (Misc queries) 6 March 29th 05 10:45 AM


All times are GMT +1. The time now is 10:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"