Is there a jakarta.poi. HSSFSheet.getLastColumn method?

T

TheAmitha

Hello,
I need to obtain the number of the last column of an Excel spreadsheet.
I know that there is a hssfSheet.getLastRow() method. I wonder if there
is any way to get the last column?
Is there an hssfSheet.getLastColumn() method?

Thanks a lot,
Toboja
 
T

Toboja

Actually - just found out that I can use hssfRow.getLastCellNum() -
I might be able to just use this.
Toboja
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top