#1   Report Post  
Posted to microsoft.public.excel.misc
Bob
 
Posts: n/a
Default excel to csv export

Hi
I am trying to export my spreadsheet as a csv file. I would like to have
double quotes for each cell content exported. This csv file is used to load a
table in sqlserver. Currently there is no option to do this.
I would like to do this because if my cell contains a comma then the export
will fail.
Or is there another way to do this?
Please inform.

Thanks
Babu
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default excel to csv export

I would think writing a macro to export the data exactly the way you want it
would be the way to go:

Some samples:

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

Earl's program has a supports lots of different options. You may want to see if
that works for you right out of the box.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Bob wrote:

Hi
I am trying to export my spreadsheet as a csv file. I would like to have
double quotes for each cell content exported. This csv file is used to load a
table in sqlserver. Currently there is no option to do this.
I would like to do this because if my cell contains a comma then the export
will fail.
Or is there another way to do this?
Please inform.

Thanks
Babu


--

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
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Export to Microsoft Excel from IE AndreasSjoberg Excel Discussion (Misc queries) 2 October 19th 05 02:41 PM
excel chart export error runtime 1004 Mau Charts and Charting in Excel 3 August 17th 05 11:35 AM
Export excel file to semicolon delimited text file capitan Excel Discussion (Misc queries) 5 April 7th 05 03:06 AM
export excel to Front Page judithbear Excel Discussion (Misc queries) 0 March 26th 05 11:17 PM


All times are GMT +1. The time now is 06:52 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"