This is a feature I miss, too.
Just the possibility to say something like:
wb.addSheet(HSSFSheet a)

Until now I had to copy all cells manually....
Does anyone know how?

Cheenu schrieb:
I have two HSSFWorkbook objects, each having one HSSFSheet.
I want to create a third HSSFWorkbook containing two sheets (one from each
of the workbooks).

I could not find a way to do this from the API - am I missing something.

A code snippet to explain the same:

HSSFWorkbook hrWorkBook = getDepartmentDetails("HR");
HSSFWorkbook financeWorkBook = getDepartmentDetails("Finance");

HSSFWorkbook finalWorkBook = ???;   // I want to somehow create this
finalWorkBook with the one sheet from the hr and finance workbook

Thanks
Cheenu

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