Bug 36515 - POI corrupts .xls after modification of a macro file
Summary: POI corrupts .xls after modification of a macro file
Alias: None
Product: POI
Classification: Unclassified
Component: POIFS (show other bugs)
Version: 3.0-dev
Hardware: PC Windows XP
: P2 major (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2005-09-06 12:36 UTC by pete jackson
Modified: 2008-08-28 14:22 UTC (History)
0 users

base files and output files (153.73 KB, application/x-zip-compressed)
2005-09-06 12:39 UTC, pete jackson

Note You need to log in before you can comment on or make changes to this bug.
Description pete jackson 2005-09-06 12:36:19 UTC
A base .xls containing macros and class files is opened by a java app which adds
2 empty sheets and then create a new output file. The output file can be 
successfully opened in excel and all code modules are present.

If the base .xls is modified ( 1 line added to second class file) and the above 
procedure is repeated on opening the output file in Excel the 2 added sheets 
are seen but a "File Not Found" message occurs. Looking in the VBE the names of 
all the macro and class files are present but clicking on the second class file 
generates the "File Not Found" message again and no code is visible for the 
class file
Comment 1 pete jackson 2005-09-06 12:39:07 UTC
Created attachment 16314 [details]
base files and output files
Comment 2 Josh Micich 2008-08-28 14:22:33 UTC
Re-tested ok in svn trunk (post 3.1)

Problem existed in v 2.5.1, but seems to have been fixed by 3.0.