|Summary:||cloneSheet() gives an "Error file: data may have been lost" in Excel 2003 or higher if sheet contains commented cells|
|Component:||HSSF||Assignee:||POI Developers List <dev>|
Description Manuela 2009-12-02 01:30:27 UTC
Hi all :) I use a xls file as template and I need to copy a sheet and filling with data. Following code: HSSFSheet familyNameSheet = workBook.cloneSheet(2); gives following error: "Error file: data may have been lost" when I try to open xls file with Microsoft Excel 2003 or higher. OpenOffice opens file correctly.
Comment 1 Manuela 2009-12-03 02:28:35 UTC
I tried to cancel all comments and Excel opens file without pop-up-ing error message: "Error file: data may have been lost".