After saving excel file with existing macros problem occurs. There is no exception during saving, but if you open file in MSExcel 2000 there is an error: "File error: data may have been lost" and macros execution fails. I used dev-10 release during tests. Source excel file and test source code attached to message
Created attachment 5852 [details] test source code
Created attachment 5853 [details] test excel file
This bugs look similar as bug 18155 (excel error message is the same: 'file error:data may have been lost') but the macro is a little different here, causing the same error
*** This bug has been marked as a duplicate of 18155 ***