#1   Report Post  
Marc
 
Posts: n/a
Default exporting to CSV

I need to export an excel spreadsheet to CSV but I need every field to have
quotes around it because some of the fields have a comma as part of their
value, is their anyway to do this.
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

XL's default csv format will put quotes around data that includes quotes.


If you still want every field to have quotes, take a look at

http://www.mcgimpsey.com/excel/textf...#csvwithquotes



In article ,
"Marc" wrote:

I need to export an excel spreadsheet to CSV but I need every field to have
quotes around it because some of the fields have a comma as part of their
value, is their anyway to do this.

  #3   Report Post  
P Daulton
 
Posts: n/a
Default

from xl2k help:
"The CSV (Comma delimited) file format saves only the text and values as
they are displayed in cells of the active worksheet. All rows and all
characters in each cell are saved. Columns of data are separated by commas,
and each row of data ends in a carriage return. If a cell contains a comma,
the cell contents are enclosed in double quotation marks."

if ALL the data items require quote marks then i think vba will need to be
used (write#).



Pascal



"Marc" wrote in message
...
I need to export an excel spreadsheet to CSV but I need every field to

have
quotes around it because some of the fields have a comma as part of their
value, is their anyway to do this.



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
e-mailing or exporting charts as a .pdf or .tif format Brad Charts and Charting in Excel 5 January 25th 05 04:27 AM
Importing & Exporting accounting software asksgail Setting up and Configuration of Excel 2 January 19th 05 06:57 PM
exporting a chart to gif format using COM (Excel v11 and .net) Katie Charts and Charting in Excel 2 December 31st 04 06:04 AM
Exporting numbers into Excel shedevel143 Excel Discussion (Misc queries) 1 December 11th 04 12:37 PM
I'm having problems exporting contacts from excel to outlook james Excel Discussion (Misc queries) 2 December 5th 04 07:43 PM


All times are GMT +1. The time now is 11:05 PM.

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"