Hi,
we have a problem with adding a new VBA module to an existing dotm document.
It works fine, if document has already an VBA module. But it does not work if dotm has none modules.
To reproduce the problem, i have added the source code and the dotm file. Example.zip (26.1 KB)
Thanks a lot!
Könnten Sie bitte mehr Informationen über den verwendeten Code und die spezifischen Schritte, die Sie unternommen haben, um das Problem zu reproduzieren, bereitstellen?
H Alexey,
ok, you are right - the macro module with name “AsposeModule” really exists if i check it with your code.
Unfortunateley i see nothing in the VBA editor, as you can see in the screenshots of attached file.
Do you see the macro module in yout VBA editor?
Maybe you have any ideas why it is not shown on my side. VBA Views.docx (36.8 KB)
Thanks a lot
Matthias
@curmas
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-29024
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Another hint for bugfix:
The problem does not occure if you add an empty macro module manually per Word in DOTM document. Afterwards adding a module per Aspose works fine. VBA is not hidden anymore.
On the other side, VBA project is hidden in case of adding a module per Aspose to DOTM document that does not have any macro modules.
I think there is something wrong with VBA project that is created per Aspose.