LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Saving as *.csv or *.txt with double quotes

Hi,

I want to save a spreadsheet that contains text strings with double quote in
csv or txt format, but when I save and open in textpad or notepad, its adds
extra double quotes.

e.g.
cell A1 - "TEST"
textpad - ""TEST""

Also if you have double quotes inside a string its also adds them to start
and end of the string...

cell A1 - This i "a" Test
textpad - "This is ""a"" Test"

I am creating various files that are read by a bespoke application and
requires double quotes in certain parts of a string to interpret the code.

My current code just takes the strings simliar to below and saves as a text
file.

SYMBOL="SYMBOL123"
DESCRIPTION="Historic Data
EXCHANGE=UBSC
INSTRUMENT-TYPE=3
VOLATILITY=0
TRADING-UNITS=100

Is there anyway around this duplication of double quotes?

Thanks,

B/




 
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
Double Quotes [email protected] New Users to Excel 2 July 20th 08 12:43 PM
Double Quotes PeterM Excel Discussion (Misc queries) 5 June 17th 08 05:12 PM
double quotes when saving in CSV Kozmos241 Excel Programming 2 February 25th 05 08:51 PM
Double Quotes Ed Excel Programming 1 January 13th 04 01:13 AM
Double Quotes Ed Excel Programming 1 January 12th 04 09:18 PM


All times are GMT +1. The time now is 04:23 AM.

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

About Us

"It's about Microsoft Excel"