G
Guest
I have a program(that I have no control over) that creates a word
document from a template. The template(TemplateProject) contains macros
in "ThisDocument" and a "NewMacros" Module.
The program first opens a document, with tokens like <<Name>>,
<<Company>>. Then it seems to open a new document where these values
are filled in. Then the first document is closed.
Now, my problem is that the macros in the NewMacros module is not
firing(like FileSave), but the macros in ThisDocument is firing. I
really need to get the macros in the NewModule to fire, unless if I can
somehow make the macros work from ThisDocument, but it seems like it
only has standard event triggers.
These macros works just fine when i'm opening the template myself by
clicking on it.
Thanks
document from a template. The template(TemplateProject) contains macros
in "ThisDocument" and a "NewMacros" Module.
The program first opens a document, with tokens like <<Name>>,
<<Company>>. Then it seems to open a new document where these values
are filled in. Then the first document is closed.
Now, my problem is that the macros in the NewMacros module is not
firing(like FileSave), but the macros in ThisDocument is firing. I
really need to get the macros in the NewModule to fire, unless if I can
somehow make the macros work from ThisDocument, but it seems like it
only has standard event triggers.
These macros works just fine when i'm opening the template myself by
clicking on it.
Thanks