I am facing some problem after saving a macro enabled Word 2007 document using Aspose.
Please see the steps below:
1. I created a macro under local Document/File category in ".DOCM" and ".DOTM" (Macro enabled Word 2007 documents) files.
2. In my code I save the document using Aspose (doc.Save(fileName)).
Result: The macro created is no more vivisble in the Macro view under local Document/File category. This is observed for both .DOCM and .DOTM extension files
Note 1: If I open the VBA code view, I am able to see the code for my Macro but the Macro itself is not visible in the Macros view.
Note 2: If I create the macro under "Normal" (Global Template) instead of local Document/file Category, then the macros are visible after saving the document and no issue is observed.
Note 3: This problem is not occurring with Excel 2007 documents.
It would be helpful to have a resolution to this problem