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 ad…...getSourceCode()); } Also, in your attached output document the VBA project...see in the screenshots of attached file. Do you see the macro...