Ok that was also me solution.

But do anybody now why it is only the first time around it do not take the blank line?

Marc


Alex Karshakevich wrote:
The rowIterator iterates only over actual rows. If a row is empty it may not be represented in the excel file. The iterator skips these nonexistent rows, so you may not get the same count as the row count of the sheet.
To iterate over _all_rows, null or not, I use HSSFSheet.getRow() and deal with nulls myself.


Alex.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/



Reply via email to