PC Review


Reply
Thread Tools Rate Thread

CSV Editing in Excel

 
 
=?Utf-8?B?TWF6aGFy?=
Guest
Posts: n/a
 
      26th May 2007
When i open a CSV file in Excel and edit it and then save it. Excel removes
the text qualifiers onwards from the line 14 when the last two or three
columns of my csv are empty. Also i am using double qouts for the
qualification of my data
so that each column has data wraped inside " marks.

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      26th May 2007
You may be able to create your CSV file correctly by filling those empty cells
with a place holder. I'd use a formula:

=""

The cell will look empty, but should be processed ok.

If you want more control...

Saved from a previous post:

This might describe the problem of too many commas in CSV files:

http://support.microsoft.com/default.aspx?scid=77295
Column Delimiters Missing in Spreadsheet Saved as Text

(It actually describes missing delimiter, but if some are "missing", maybe the
ones appearing are "extra".)

(But a lot of programs (excel included) don't care about those extra columns.
Maybe you don't have to care, either???)

Maybe you could write your own exporting program that would behave exactly the
way you want:

Here are three sites that you could steal some code from:

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

(or maybe you could build your own formula and copy|paste into Notepad.)


Mazhar wrote:
>
> When i open a CSV file in Excel and edit it and then save it. Excel removes
> the text qualifiers onwards from the line 14 when the last two or three
> columns of my csv are empty. Also i am using double qouts for the
> qualification of my data
> so that each column has data wraped inside " marks.


--

Dave Peterson
 
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
Editing in excel Scott Microsoft Excel Misc 2 27th Oct 2008 12:24 AM
Editing Excel MRW Microsoft ASP .NET 2 29th May 2008 12:12 PM
editing an excel 97 file within excel 2003 and saving back as exce =?Utf-8?B?Q2hyaXMgRWdlYnJlY2h0?= Microsoft Excel Misc 3 24th Mar 2006 11:14 PM
Editing an Excel MAcro =?Utf-8?B?TFBT?= Microsoft Excel Programming 3 6th Jan 2006 04:31 PM
Re: Editing Excel without starting excel Tom Ogilvy Microsoft Excel Programming 0 10th Jun 2004 10:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:10 AM.