There's a setSelectedTab method in HSSFWorkbook you can use.

Regards,

2007/3/12, pelican <[EMAIL PROTECTED]>:
Hi,

I am creating Excel file using POI. My application includes generating the 12 
sheets for the 12 months of the year. So far OK.

After creating all the relevant data, I wish to put the cursor to the current 
month. (eg. say sheet number 3 for March).
It means that when the user opens the Excel file, the sheet with the current 
month will be seen.

How can I do it?

thanks and rgds,


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