Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Create a comma-delimited file to be opened in Excel

Hi All,

I want to create a comma-delimited file so that it can be opened in
Excel.

However, since some items contain comma, I fear that they may be split
into separate columns because it's comma-delimited.

Any suggestion to not to split a single item that contains comma?

Thanks!

-Emily

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 195
Default Create a comma-delimited file to be opened in Excel


could ou make it tab separated file instead of a csv?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default Create a comma-delimited file to be opened in Excel


"Emily" wrote in message
oups.com...
Hi All,

I want to create a comma-delimited file so that it can be opened in
Excel.

However, since some items contain comma, I fear that they may be split
into separate columns because it's comma-delimited.

Any suggestion to not to split a single item that contains comma?

Thanks!

-Emily


Makes no sense to create a comma delimited file while the data contain
commas. Use another delimiter.
Joerg


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Create a comma-delimited file to be opened in Excel

Enclose any values with commas in quotes.

23,45,"A comma, here",hjk,89

Tim

"Emily" wrote in message
oups.com...
Hi All,

I want to create a comma-delimited file so that it can be opened in
Excel.

However, since some items contain comma, I fear that they may be split
into separate columns because it's comma-delimited.

Any suggestion to not to split a single item that contains comma?

Thanks!

-Emily



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Create a comma-delimited file to be opened in Excel


stevebriz wrote:
could ou make it tab separated file instead of a csv?


If not csv, what file extension (type) shall I save it as?

I tried using tabs and saved as csv, it seems that they show in squares
in the Excel file and all of them are in a single cell.

-Emily



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Create a comma-delimited file to be opened in Excel

Thanks Tim! You have solved my problem!

-Emily

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
create a ASCII semi-colon or comma delimited file Beverly Blake Excel Worksheet Functions 2 July 21st 07 07:20 PM
Saving multi-tab excel file created from comma delimited text file Marcus Aurelius Excel Programming 2 December 19th 05 05:16 PM
Create a form to open a comma delimited file ~Rick Excel Discussion (Misc queries) 1 September 29th 05 08:25 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
how do I create comma and double quote delimited file mikeb Excel Discussion (Misc queries) 1 November 29th 04 10:01 PM


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