To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=115283 Issue #|115283 Summary|Macros lost when saving .odt as .doc Component|Word processor Version|OOO320m12 Platform|PC URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|save-export Assigned to|writerneedsconfirm Reported by|acunliffe
------- Additional comments from [email protected] Thu Oct 28 04:01:33 +0000 2010 ------- I will attach a sample .doc with macro. Tool - Options settings are: * OpenOffice.org - Security - Macro Security - Medium * Load/Save - VBA Properties - Microsoft Word 97/2000/XP - Load and Save Basic code. The scenario I am testing is converting .doc with VBA macros to .odt, editing the document and then saving it back to .doc. My macros are retained when saving the .doc to .odt but when I try to save as .doc again, the macros are lost. To reproduce: 1. Open .doc in OpenOffice 2. Select Save As 3. Select File Type as ODF Text Document (.odt) 4. Click Save Result: I receive a warning saying that "...The original VBA Basic Code contained in the document will not be saved". If I click OK and examine the code, it is still saved in the document. [I've logged this as a separate issue - 115282]. 5. Edit document 6. Click Save As 7. Select File Type as Microsoft Word 97/2000/XP (.doc) 8. Click Save Result: I am prompted to "Keep Current Format" or "Save in ODF Format" 9. Select Keep Current Format Result: The new .doc file is missing the macro As my VBA setting are to "Load and Save Basic code" and the macro is a VBA one and not OpenOffice Basic, I would have thought that I could do these sort of conversions without losing the original code (despite the prompt I get after step 8)? --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
