...
@RUNWORDMACRO is used in the WINWORD$() function to execute a macro in the Word template immediately upon opening the document.
Syntax
Place
...
Arguments
- MacroParameter is the name of a parameter containing the name of a VBA (*.bas) file as value, MacroFile is the name of the VBA (*.bas) file itself
...