
Originally Posted by
hoopz
I am having a similar problem. I have an excel file that has five columns, and the fifth column is almost always blank. I expect that my CSV file will look like:
DATA1,DATA2,DATA3,DATA4,
DATA1,DATA2,DATA3,DATA4,
DATA1,DATA2,DATA3,DATA4,
etc.
and occasionally I will have:
DATA1,DATA2,DATA3,DATA4,DATA5
But the problem is, the first 16 rows are correct (16! same as john_mc had correct) and the rest of the rows don't have the last comma needed to indicate that there is nothing in column 5. So I'm getting:
DATA1,DATA2,DATA3,DATA4,
for 16 rows, and then everything after is:
DATA1,DATA2,DATA3,DATA4
This totally screws up my CSV file; I need that last comma after DATA4.
Any ideas?
Bookmarks