You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Mike Troxclaire <mi...@hotmail.com> on 2006/08/17 23:49:42 UTC

reading multiple worksheets in a workbook.

Hello Pro's,
I am new to POI and was wondering if somebody had an example to read 
multiple sheets in a single workbook. I am able to read a single worksheet 
in a workbook but having trouble with multiple worksheets in a workbook. Any 
help would be much appreciated.

Thanks in advance,

Mike.

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: reading multiple worksheets in a workbook.

Posted by Sebastian Frehmel <uh...@stud.uni-karlsruhe.de>.
Hi
If you read in your workbook like it is shown in the HOWTO (comes with 
POI, docs folder) you can simply access all sheets in the WB like this:
wb.getSheet(integer) or
wb.getSheet(sheetName)

Sebastian

PS: Does anyone an answer to my problem I posted 4 days ago? Thank you!


Mike Troxclaire schrieb:
> Hello Pro's,
> I am new to POI and was wondering if somebody had an example to read 
> multiple sheets in a single workbook. I am able to read a single 
> worksheet in a workbook but having trouble with multiple worksheets in 
> a workbook. Any help would be much appreciated.
>
> Thanks in advance,
>
> Mike.
>
> _________________________________________________________________
> Don?t just search. Find. Check out the new MSN Search! 
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List: http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ 

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