Bug 34909

Summary: [FILEOPEN] macros not imported for word documents ooxml
Product: LibreOffice Reporter: Noel Power <nopower>
Component: WriterAssignee: Noel Power <nopower>
Status: RESOLVED FIXED    
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description Noel Power 2011-03-02 03:19:58 UTC
Documents with the ".docm" extension can have macros, currently we don't read the binary vba blob ( vbaProject.bin ) in the document zip.

see attachment for example ( which also contains Userforms ) note: activex controls are not imported so there is no 'button' to press to launch the macros.  To run the macro you need to navigate and execute the macro manually ( from the macro organiser [1] )

[1] open the macro organiser ( Tools|Macros|OrganiseMacro|Libreoffice|Basic ) from the organiser navigate to the macro ( Suse-puzzler.docm | Project | Modules | Module1 ) and choose to run the 'launch' macro from the list of existing macros. ( of course your security settings should be set to allow macro execution to run the test )
Comment 1 Noel Power 2011-03-02 03:20:32 UTC
for me :-)