Apache OpenOffice (AOO) Bugzilla – Issue 75624
Calc: thinks a file has macros, when in fact it does not seem to
Last modified: 2007-03-30 13:41:46 UTC
Windows XP Home, Chinese (Traditional characters). OpenOffice Calc 2.0.1, Chinese (Traditional characters). 1. Open the attachment, separately in Microsoft Excel 2003 and OpenOffice Calc 2.0.1. 2. In Excel it does not warn for macros. It was plainly typed and so should not contain any macros. 3. In OpenOffice Calc it wars for macros. It seem to think that it has macros. Thanks. Qiyao
Created attachment 43845 [details] warning for macros
confirmed with OOo 2.2RC3 calc is importing a makro in Module thisWorkbook macros2.Standard.thisWorkbook will show: ---- Rem Attribute VBA_ModuleType=VBADocumentModule Option VBASupport 1 Sub ThisWorkbook Rem End Sub ---- Excel does not find any line of code in the file. Tested with Excel 2003. Opened the file, in VB Editor, direct input I tried the following code: for i=1 to activeworkbook.VBProject.VBComponents.Count : _ ? activeworkbook.VBProject.VBComponents(i).CodeModule.CountOfLines, _ activeworkbook.VBProject.VBComponents(i).Name : _ next i and got: 0 ThisWorkbook 0 Sheet1 0 Sheet2 I could not reproduce this with any other excel file, so lowering Priority
Thanks for looking at this problem.
Hi, this is not a defect. Excel form controls add an entry to the Macro section of an workbook if one was defined and do not remove it completly if this button is erased from the sheet. Saving this document will bring up the warning in Calc. Also a duplicate to Issue 52324. Frank *** This issue has been marked as a duplicate of 52324 ***
closed double