Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default CSV file with Comma in text Field

I am exporting a CSV file which allows and end user to save customer
information. Unfortunately, there are some customer names that have a
comma in the name (ex: Winn Dixie, INC). How do I export and Import
these names as a .csv while still retaining this info as a single field
rather than two seperate fields?

Thanks,
Gary

  #2   Report Post  
Posted to microsoft.public.excel.programming
Ian Ian is offline
external usenet poster
 
Posts: 238
Default CSV file with Comma in text Field

When you export from Excel to a CSV file, Excel should put quotes round the
data in any cells containing a comma. It can then be reimported and seen as
one cell. As always, if in doubt try it on a copy of you data.

--
Ian
--
"GHopson" wrote in message
oups.com...
I am exporting a CSV file which allows and end user to save customer
information. Unfortunately, there are some customer names that have a
comma in the name (ex: Winn Dixie, INC). How do I export and Import
these names as a .csv while still retaining this info as a single field
rather than two seperate fields?

Thanks,
Gary



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default CSV file with Comma in text Field

Thanks Ian.
Currently EXCEL is not putting the Quotes around the Data. Is there a
setting or a config that I should set first?

Thanks again,
Gary

  #4   Report Post  
Posted to microsoft.public.excel.programming
Ian Ian is offline
external usenet poster
 
Posts: 238
Default CSV file with Comma in text Field

Not that I know of. I've just ceated a new sheet and tried it. I got a
message saying that the file may contain features that are not compatible
with CSV and Yes/No/Help buttons.
When I clicked Help I got a page entitled "Formatting and features that are
not transferred in Excel file format conversions". On this page is a section
relating to CSV. Part of this section reads "The CSV (*.csv) 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." There is no mention of en/disabling this feature.

--
Ian
--
"GHopson" wrote in message
oups.com...
Thanks Ian.
Currently EXCEL is not putting the Quotes around the Data. Is there a
setting or a config that I should set first?

Thanks again,
Gary



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default CSV file with Comma in text Field

Thanks Ian. I'll keep trying, and share the solution with you when I
find one.

Thanks again,
Gary

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
Saving multi-tab excel file created from comma delimited text file Marcus Aurelius Excel Programming 2 December 19th 05 05:16 PM
How can I save a file as a comma-delimited text file in Excel? LAM Excel Discussion (Misc queries) 1 May 3rd 05 10:24 PM
I have a Comma delimited text file how do I import in to excel an. trevord Excel Discussion (Misc queries) 1 February 3rd 05 11:41 PM
Comma Delimited Text File Issue solomon_monkey Excel Programming 12 December 22nd 04 09:51 PM
comma s separator text file T. Alksndr rstrpo Prado Excel Programming 0 September 15th 03 10:41 PM


All times are GMT +1. The time now is 04:16 PM.

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"