went and got a file that already “works” from here: xls to csv
Note, I wanted a tab delimited format, so I just went in and changed “,” to “\t” and then removed a bunch of the extra formatting, such as naming the workbook. The problem is, however, that this code I found splits some Excel rows into 2+ lines.
These are the rows where I have several columns filled then several columns that are empty, followed by more data, basically a row that has a gap between entries.
Everything is still aligned correctly, but I can’t figure out how to correctly match the records.
It is vitally important that in my tab delimited file that the rows remain as they were in excel.
Suggestions?
It ended up being a bug in the system and the guys on the project confirmed it. They didn’t correctly account for blank cells.
I ended up using a different library.