i have a sheet in the excel, i want to get a copy of the sheet, and change the new sheet's name (because first, i don't know how much sheets i need or the names of those sheets at design time.

the HSSFWorkbook has a cloneSheet(int index) method, which will copy the sheet for me, and returns me a HSSFSheet object. however, i looked through the apis of both HSSFWorkbook and HSSFSheet, and seems there's no way for me to get or change the sheet name when i only have the HSSFSheet object.

any idea? thank you guys so much, and have a nice weekend.

hunter

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