#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default export to CSV file

I am exporting an Excel worksheet to a CSV file. I need each value in the
CSV file to be surrounded by double quotes. How do i do that? Thanks in
advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default export to CSV file

CSV is Comma Separated... not quote comma separated.

You will have to either add quotes around each value or use a macro.

See http://support.microsoft.com/kb/291296 for a macro solution.

"_Ann_" wrote:

I am exporting an Excel worksheet to a CSV file. I need each value in the
CSV file to be surrounded by double quotes. How do i do that? Thanks in
advance!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default export to CSV file

yeah i get the comma-separated point. But i find it odd that Excel will add
quotes if there is a comma in one of the cells. Was hoping for a bit more
flexibility in formatting the comma-separate values. The app that will use
the CSV files requores quoted values.

Thanks for the link. I'll give it a try.


"Sheeloo" wrote:

CSV is Comma Separated... not quote comma separated.

You will have to either add quotes around each value or use a macro.

See http://support.microsoft.com/kb/291296 for a macro solution.

"_Ann_" wrote:

I am exporting an Excel worksheet to a CSV file. I need each value in the
CSV file to be surrounded by double quotes. How do i do that? Thanks in
advance!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default export to CSV file

It has to add quotes if the cell value contains a comma since the values are
separated by commas in CSV... otherwise the values with commas will be split
over two or more fields...

While answering a post we have no idea about the level of expertise of the
person asking the questions so sometime we come across as condescending...


"_Ann_" wrote:

yeah i get the comma-separated point. But i find it odd that Excel will add
quotes if there is a comma in one of the cells. Was hoping for a bit more
flexibility in formatting the comma-separate values. The app that will use
the CSV files requores quoted values.

Thanks for the link. I'll give it a try.


"Sheeloo" wrote:

CSV is Comma Separated... not quote comma separated.

You will have to either add quotes around each value or use a macro.

See http://support.microsoft.com/kb/291296 for a macro solution.

"_Ann_" wrote:

I am exporting an Excel worksheet to a CSV file. I need each value in the
CSV file to be surrounded by double quotes. How do i do that? Thanks in
advance!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default export to CSV file

no offense taken :-) Thanks for your help.

"Sheeloo" wrote:

It has to add quotes if the cell value contains a comma since the values are
separated by commas in CSV... otherwise the values with commas will be split
over two or more fields...

While answering a post we have no idea about the level of expertise of the
person asking the questions so sometime we come across as condescending...


"_Ann_" wrote:

yeah i get the comma-separated point. But i find it odd that Excel will add
quotes if there is a comma in one of the cells. Was hoping for a bit more
flexibility in formatting the comma-separate values. The app that will use
the CSV files requores quoted values.

Thanks for the link. I'll give it a try.


"Sheeloo" wrote:

CSV is Comma Separated... not quote comma separated.

You will have to either add quotes around each value or use a macro.

See http://support.microsoft.com/kb/291296 for a macro solution.

"_Ann_" wrote:

I am exporting an Excel worksheet to a CSV file. I need each value in the
CSV file to be surrounded by double quotes. How do i do that? Thanks in
advance!

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
How do I export an .xls file to Qif file format WD Excel Discussion (Misc queries) 1 July 27th 08 07:40 AM
export re-order input fields to export file [csv] madisonpete Excel Worksheet Functions 0 November 30th 07 03:51 PM
need to export row as csv file with column e plus .bom as file name rod Excel Discussion (Misc queries) 5 November 2nd 06 03:38 AM
I need to export.xls file to .csv file for fedex address book eeyore1943 Setting up and Configuration of Excel 0 September 20th 05 11:20 PM
Export excel file to semicolon delimited text file capitan Excel Discussion (Misc queries) 5 April 7th 05 03:06 AM


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