You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Nate <nm...@charter.net> on 2003/05/23 16:04:59 UTC

Inserting sheets into workbooks

Hi again,

    I am trying to figure out if there is a way to insert an HSSFSheet into
an HSSFWorkbook.  I have a bunch of excel spreadsheets that are invoices,
and my customer wants to be able to summarize them.  I thought what I could
do was to open the file with POI, extract the relevant sheets, and insert
them into a new workbook.  But that doesn't appear to be possible.  What I
was looking for was something like HSSFWorkbook.insertSheet(HSSFSheet).  Can
you folks think of any way to copy a sheet from one workbook into another?

--Nathan McMinn