You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2005/08/01 07:22:37 UTC

DO NOT REPLY [Bug 28328] - sheet selection does not work

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28328>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28328





------- Additional Comments From nick.advincula@gmail.com  2005-08-01 07:22 -------
I have the same problem.
I have an excel file as template containing 12 sheets.
The default selected sheet is the first sheet (by the time the excel template 
was saved).
The program will select the sheet of the month that was selected from the 
screen.

Below is the code snippet:

workBook.getSheetAt(0).setSelected(false);
//month is zero-based
workBook.getSheetAt(reportMonth).setSelected(true);

I hope that this would be fixed.
I am using poi-2.5.1-final-20040804.jar
I also tried using poi-bin-3.0-alpha1-20050704 but still, it was not yet fixed.


Thank you very much!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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