One way is to try it and see what comes out ;).
http://jakarta.apache.org/poi/hssf/quick-guide.html#NewSheet
danny
[EMAIL PROTECTED] wrote:
Hi! I'm a newbie to POI and am drawing a blank on how to solve my problem.
I want to create a workbook w/ multiple sheets (one for each of n org
codes) but when I start processing I don't know how many.
How can I create a new sheet each time through a loop? If I do something
like HSSFSheet sheet = wb.createSheet(orgcode); in the loop I really only
have one sheet that's been updated multiple times.
If I store each new instance in a List will the workbook "see" them when it
comes time to write the file?
TIA for you help and apologies for such an elementary question.
BMF
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
