https://bz.apache.org/bugzilla/show_bug.cgi?id=61734
Bug ID: 61734
Summary: Error after writing XLSM file via XSSFWorkbook after
reading the file
Product: POI
Version: 3.17-FINAL
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 35501
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35501&action=edit
Source code to create the error
Hi,
I am using POI 3.17 final to read an Excel Macro file (xlsm).
There is no error during reading of the file.
Afterwards I read some sheets data and write this workbook back to file.
(there is no error during writing to a file, too.)
The written file is now corrupt and Excel, start with Version 20007, must
repair the file.
Message: Excel has found unreadable content in file XXX Do you like to repair
the Workbook? (Sorry this may be not the original english message, because i
use the german Version of Excel).
Excel try to repair this file and remove some Content.
See attachment for examples. The BugDemo-OUT.xlsm file is corrupt.
source code to test is attached, too.
Thanks in advance for your help.
Regards,
Uwe Herrmann
--
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]