-
Bug
-
Resolution: Fixed
-
Normal
-
Freshly, 2.6.0
-
None
-
Security Level: Jimmy
-
None
Steps to reproduce
- load attached lastSheetActive.xlsx file with 2.6.0.FL.20140722-Eval (you can use activeTab.zul)
- delete 2nd sheet
- export it
- open it with Excel 2007
Actual Result:
Excel shows a popup said that the file has unreadable content, but it can be recovered by Excel.
Expected Result:
no error message shows.
Workaround
reset active sheet before exporting
Book book = spreadsheet.getBook(); book.setActiveSheet(book.getSheetIndex(spreadsheet.getSelectedSheet()));