On Wed, 11 Dec 2013, Aram Mirzadeh wrote:
The first 15 rows (all columns), the text of the cell is replaced with a numeric value, it's the same value each time but I can't figure out where it's coming from.

Commenting out the cell.setCellType(Cell.CELL_TYPE_NUMERIC); does indeed fix the problem.

Why are you calling setCellType(Cell.CELL_TYPE_NUMERIC) on the cells? Generally this isn't needed - if reading you want the type the cell already has, if writing you normally let POI set the type when you set the value

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to