f$Word: Execute macro
f$Word: Execute macro
Execution of a macro. This function can be called at any time during document generation. The macro is executed immediately.
Syntax: | Status = f$Word('Execute Macro','Macro name','') | ||
| Argument | Type | Meaning |
| Execute macro | String | Keyword |
| Macro name | String | Name of the macro to be executed |
| '' | String | '' |
Result: | Integer | 0: Command successfully executed -1: The indicated macro cannot be executed. | |
Example: | Status = f$Word('Execute macro','Macro1','') | ||