Hi harfang,
Thanks for your comment, I will try that when I go back tomorrow, but in looking at some of the files, the second column (apart from the header) is blank in some of them, but the comma shows up in the Word document, it is only the comma for the last field that does not show.
Bill
Main Topics
Browse All Topics





by: harfangPosted on 2009-11-07 at 20:27:07ID: 25769391
That's very peculiar.
It appears that rows are exported in batches of 16 rows. For each batch, the number of commas is determined depending on which cells are empty. Since your first row has titles, the first batch contains 15 rows, with the correct number of commas.
This is a clearly a bug. I don't think there is an option of parameter to solve this in any "official" manner.
I'm afraid you will have to write something in all blank cells. This isn't as complicated as it sounds:
* Select current region (Ctrl+[*])
* (Edit | Goto...) or F5
* [Special]
* Blanks
Then type the formula ="" and validate with Ctrl+Enter, affecting all selected cells at once.
The formula evaluates to a "zero-length string", which is different from a blank cell. The export to CSV process will then produce all commas up to the last column, even if they look the same.
If you later need to clear these cells again, use again "goto special", and select "Formulas" and "Text".
More information about BLANK versus ZLS: http:/A_1910.html
Good luck!
(°v°)