Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default CSV Editing in Excel

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
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
editing comments in MS excel 07 krisenthia Excel Discussion (Misc queries) 1 November 20th 08 04:11 PM
Locking Excel for Editing pslaught Excel Discussion (Misc queries) 4 November 7th 08 05:34 PM
Editing in excel Scott Excel Discussion (Misc queries) 2 October 27th 08 12:24 AM
editing excel templates kaja New Users to Excel 1 March 28th 08 03:12 PM
Editing Data in Excel Anthony Fagen Excel Worksheet Functions 1 June 29th 06 02:51 AM


All times are GMT +1. The time now is 01:12 AM.

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"