p$TDV:SMPAPI:EtTxEMak
p$TDV:SMPAPI:EtTxEMak
Run a user macro in Microsoft Word.
The call of this ePOS function can occur at any time between the initialization of the output document (p$TDV:SMAPAPI:EtTxInit) and the completion via p$TDV:SMPAPI:EtTxExit.
The macro must be addressable within the document, therefore either in the document template file or in the global document templates or the Normal.dot file. If the macro closes the active document, it has to be saved in the global document template and be transferred upon closing the document generation, see p$TDV:SMPAPI:EtTxExit.
Syntax: | p$TDV:SMPAPI:EtTxEMak( MacroName ) | ||
| Argument | Type | Meaning |
| MacroName | String | Name of the Word macro |
Result: | - |
| |
Example: | p$TDV:SMPAPI:EtTxEMak( 'Fax' ) | ||