MACROBUTTON MacroName DisplayText

Inserts a macro command, which you can run by double-clicking the results of a MACROBUTTON field. You can also click in the MACROBUTTON field and then press ALT+SHIFT+F9.


macronameThe name of the macro to run when you double-click the field result.
displaytextThe text or graphic to appear as the "button." You can use a field that results in text or a graphic, such as BOOKMARK or INCLUDEPICTURE.

REMARKS
* The macro must be available in the active document template or a global template.
* The text or graphic must appear on one line in the field result; otherwise, an error occurs.
* For the Microsoft documentation refer to support.microsoft.com

Examples

{ MACROBUTTON PrintEnvelope }

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top