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

Discussion in 'Java' started by TheAmitha, Jan 21, 2005.

  1. TheAmitha

    TheAmitha Guest

    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
     
    TheAmitha, Jan 21, 2005
    #1
    1. Advertising

  2. TheAmitha

    Toboja Guest

    Actually - just found out that I can use hssfRow.getLastCellNum() -
    I might be able to just use this.
    Toboja
     
    Toboja, Jan 21, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joe C

    Jakarta POI HSSF

    Joe C, Jul 26, 2004, in forum: Java
    Replies:
    2
    Views:
    3,397
    Shane Mingins
    Jul 27, 2004
  2. atransiciel

    Jakarta POI API and OpenOffice

    atransiciel, Aug 3, 2004, in forum: Java
    Replies:
    0
    Views:
    463
    atransiciel
    Aug 3, 2004
  3. Replies:
    2
    Views:
    5,963
    =?ISO-8859-1?Q?S=E9bastien_Auvray?=
    Feb 16, 2005
  4. werrt

    Jakarta POI read word

    werrt, Oct 21, 2005, in forum: Java
    Replies:
    1
    Views:
    2,303
    Roedy Green
    Oct 22, 2005
  5. Replies:
    7
    Views:
    6,726
Loading...

Share This Page