PC Review


Reply
Thread Tools Rate Thread

Comm-separated output to a csv file

 
 
Curious
Guest
Posts: n/a
 
      19th Aug 2007
I used a program to generate comma-separated output to a csv file. I
wanted the data separated by commas to be in different columns.
However, when I opened the csv file, they were all in a single cell
with the commas in there.

So I tried to format the columns by using "Data"->"Text to columns".
Then selected "Delimited" and picked "Comma" as delimiter. However,
that didn't seem to work - They were still all in a single cell. BTW,
this happened on Friday

Then a miracle happened - Just now when I checked the csv file, the
data with commas in the middle were all properly separated into
different columns. I don't know why I couldn't get the data separated
into columns on Friday, while they're separated properly now.

Could anyone explain why?

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9lbA==?=
Guest
Posts: n/a
 
      19th Aug 2007
the only way this can hapen if there are double quotes around the cells. Are
You sure you didn't accidently add double qutoes around each line when you
wrote the data?

Open the file in Notebook at look at the text data.

"Curious" wrote:

> I used a program to generate comma-separated output to a csv file. I
> wanted the data separated by commas to be in different columns.
> However, when I opened the csv file, they were all in a single cell
> with the commas in there.
>
> So I tried to format the columns by using "Data"->"Text to columns".
> Then selected "Delimited" and picked "Comma" as delimiter. However,
> that didn't seem to work - They were still all in a single cell. BTW,
> this happened on Friday
>
> Then a miracle happened - Just now when I checked the csv file, the
> data with commas in the middle were all properly separated into
> different columns. I don't know why I couldn't get the data separated
> into columns on Friday, while they're separated properly now.
>
> Could anyone explain why?
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
| separated csv output =?Utf-8?B?SGVucnk=?= Microsoft Access VBA Modules 3 15th Nov 2006 02:29 PM
How do I convert an excel file into a comma separated values file =?Utf-8?B?Q29ucXVlcmVy?= Microsoft Excel Misc 3 17th Aug 2006 09:19 PM
How to create '|' separated file =?Utf-8?B?VmVua2F0ZXNoIFY=?= Microsoft Excel Misc 4 23rd Feb 2006 06:48 AM
Using Comm dll file in vb.net 2003 error gv Microsoft VB .NET 5 1st Apr 2005 10:04 PM
Output to - Adding a date to the Output File Argument =?Utf-8?B?VGltYm9i?= Microsoft Access Macros 2 22nd Oct 2004 04:36 PM


Features
 

Advertising
 

Newsgroups
 


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