Thanks Vilaplana for your help this is what I was looking for. I looked in API 
couldn't find it.


Thanks
Harkirat Guron
WiSpry, Inc.
20 Fairbanks
Irvine, CA 92618

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Òscar Álvarez 
Vilaplana
Sent: Friday, March 09, 2007 3:11 PM
To: POI Users List
Subject: Re: no. of sheets in one excel file

Hello,

There is a getNumberOfSheets() method in HSSFWorkbook:

HSSFWorkbook wb = new HSSFWorkbook(is);

int numberOfSheets = wb.getNumberOfSheets();

Regards,

2007/3/9, Harkirat Guron <[EMAIL PROTECTED]>:
> Hello All,
> Is there any method to return no of sheets in an excel file?
>
>
>
>
>
>
>
> Harkirat Guron
> WiSpry, Inc.
> 20 Fairbanks
> Irvine, CA 92618
> -----Original Message-----
> From: Donahue, Michael [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 08, 2007 7:53 AM
> To: POI Users List
> Subject: RE: Read Excel sheet after editing it inside the browser
>
> Zep -
>
> I'm pretty sure you are going to have to save the file locally and then
> upload the file back to the server as a regular file upload.  Not the
> prettiest solution, unless you want to write your own web based GUI or
> plug-in for Excel files.
>
> Good luck...
>
> - Mike
>
> ---
> Michael J. Donahue
> Vangent, Inc.
> 845 Capitol Drive SW. (CRW - 500)
> Cedar Rapids, IA 52404
> office: 319-841-4941
> fax: 319-841-4985
> email & IM: [EMAIL PROTECTED]
> ---
> That's when I made up my mind to keep one foot in the Ideal Plane and
> the other in the real world. --Father Mulcahy M*A*S*H
>
> -----Original Message-----
> From: Zep [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 08, 2007 7:56 AM
> To: [email protected]
> Subject: Read Excel sheet after editing it inside the brower
>
>
> Hi everyone!
>
> I've successfully opened an Excel file inside the browser, but now after
> editing the sheet, I'm needing to submit the file to read it from a
> Servlet.
>
> In other words I need this:
> step 1: display an Excel sheet inside the browser (successfully done).
> step 2: edit the sheet (successfully done).
> step 3: send the sheet data to a Servlet to read it.
>
> - Im using IE 6
>
> Anyone could help me?
> Thanks a lot!!!
> --
> View this message in context:
> http://www.nabble.com/Read-Excel-sheet-after-editing-it-inside-the-browe
> r-tf3369115.html#a9374164
> Sent from the POI - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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/
> ************************************************************************
> ****
> This email may contain confidential material.
> If you were not an intended recipient,
> Please notify the sender and delete all copies.
> We may monitor email to and from our network.
> ************************************************************************
> ****
>
> ---------------------------------------------------------------------
> 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/
>
>
> ---------------------------------------------------------------------
> 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/
>
>

---------------------------------------------------------------------
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/


---------------------------------------------------------------------
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