This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Excel Generation using POI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Excel Generation using POI " Watch "Excel Generation using POI " New topic
Author

Excel Generation using POI

Ginnakunta Laxmi Narayan
Ranch Hand

Joined: Jun 16, 2004
Posts: 35
Can i generate multiple sheets in the same excel file using POI.

Please help me.

Bye
Narayan
Amber Vaidya
Ranch Hand

Joined: Oct 14, 2003
Posts: 42
Sure you can ...

Create a workbook and then create sheets in the workbook


// create a new workbook
HSSFWorkbook wb = new HSSFWorkbook();

// create new sheets
HSSFSheet sheet1 = wb.createSheet();
HSSFSheet sheet2 = wb.createSheet();
HSSFSheet sheet3 = wb.createSheet();
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Excel Generation using POI
 
Similar Threads
Export to Excel
excel as a database
Saving data to Excel files
Problem in reading the excel file path from WINDOWs machine from UNIX environment
accessing excel file from java