Bug 29231 - Excel Error : Document cannot be saved
Summary: Excel Error : Document cannot be saved
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-FINAL
Hardware: PC All
: P3 critical (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 16:08 UTC by Fatih Karakas
Modified: 2008-05-08 23:10 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fatih Karakas 2004-05-26 16:08:56 UTC
I have a very complex excel file with macros, formulas and graphs. I tried to
test HSSF API with the following code :
...
    POIFSFileSystem fs      =
            new POIFSFileSystem(new FileInputStream(inExcelFilename));
    HSSFWorkbook wb = new HSSFWorkbook(fs);

    FileOutputStream fileOut = new FileOutputStream(outExcelFilename);
    wb.write(fileOut);
    fileOut.close();
...

The generated excel file can be opened but when i try to save it, i got an excel
error message saying that "the document has not been saved"
Comment 1 Josh Micich 2008-05-08 23:10:43 UTC
Without an example xls file, there is not much to work with here.  There were many changes from version 2.0 to 3.1.  It's likely that this problem has been fixed.