yes its possible you can find out as follows
// excel extractor
        ExcelExtractor extractor = new ExcelExtractor(workbook);
        extractor.setFormulasNotResults(false);
//make it true to find sheet names
        extractor.setIncludeSheetNames(true);
        extractor.setIncludeCellComments(true);
        String text = extractor.getText();
        System.out.println("extractor text:"+text);

Mahesh Ganapathy wrote:
> 
> I believe there is a workbook.getSheetName(i) method.
> ------Original Message------
> From: s gallaghan
> To: [email protected]
> ReplyTo: POI Users List
> Subject: find sheets in a workbook
> Sent: Nov 2, 2008 12:01 AM
> 
> hi all
> is it possible to find the sheetnames from a workbook?
> 
> cheers
> stephen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> Sent via BlackBerry by AT&T
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-find-sheets-in-a-workbook-tp20287174p20291557.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to