You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Venkatesh Balaji <ba...@solverminds.com> on 2005/04/28 15:07:20 UTC

Re: changing name of HSSFSheet

try this to name the Sheet.


HSSFSheet sheet = book.createSheet("SheetName");

_Balaji


----- Original Message ----- 
From: "Sanjiv Jivan" <sa...@gmail.com>
To: "POI Users List" <po...@jakarta.apache.org>
Sent: Thursday, April 28, 2005 6:37 PM
Subject: changing name of HSSFSheet


Hi,
I am generating my excel file by reading from a template file and then
add data using HSSF. I would like to programatically rename the name
of an existing sheet. I was looking for a HSSFSheet#setName(...) or
HSSFSheet#rename(...) method but couldn't find such methods. Is there
any other way to accomplish this?

Thanks,
Sanjiv

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/





---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/