https://issues.apache.org/bugzilla/show_bug.cgi?id=44523
--- Comment #3 from Michael <[EMAIL PROTECTED]> 2008-03-04 04:39:22 --- Created an attachment (id=21619) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21619) POI Outputfile (Sheet 3 should be selected) FileOutputStream out = new FileOutputStream("test_hmi.xls"); InputStream input = RunImport.class.getResourceAsStream( "simple.xls" ); POIFSFileSystem fs = new POIFSFileSystem( input ); HSSFWorkbook wb = new HSSFWorkbook(fs); // Select last sheet wb.setSelectedTab((short)(wb.getNumberOfSheets()-1)); wb.write(out); out.close(); // Note that sheet 3 is displayed in the output file but its tab is not correctly selected (sheet 1 remains selected) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
