If i have a CSV file that has a number a fields, some at the end which
may not be filled in for some rows, after a few lines, Excel will omit
the trailing commas for the empty fields. This causes some problems when
trying to import the editied file into other applications.
This is repeatable for me on many machines.
also take a look at this issue,
http://groups-beta.google.com/group/...624ccd84bb48a6
I've included a sample CSV file that exibits this particular behavior.
Take the attached file, and open it in Notepad. Notice the trailing
commas. Now open the file in Excel, then Just click the save button. It
will wanr you about some compatibilty issues and answering either Yes or
no makes no difference. Answering no just makes you do an additional
step of saving a separate workbook. Now open the same file again in
Notepad. Noice after around line 17, the trailing commas dissapear and
then reappear somewhere around line 81.
I've been able to reproduce this on 3 different machines now, so I know
it's not just my system that is exibiting this behavior.
I tried searching the knowledge base extensively for this but was unable
to find any answer.
Sean
Bookmarks