Use Text Instead of a Graphic in a Word MacroButton Field
Question details
The user needs a clickable control in a Word MacroButton field when a graphic no longer works as the button.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A document uses a MacroButton field to run a macro, and the user wants the clickable content to appear as a graphic.
- Observed behavior
- In modern Word DOCX documents, an image does not work as the clickable MacroButton content as it did in older Word versions.
Make sure the macro you want to run is available in Word and that you trust its source. If the document contains VBA code, use a macro-enabled DOCM file rather than DOCX.
Replace the MacroButton Graphic with Clickable Text
Use a text label as the MacroButton field content to provide a clickable way to run the macro.
In Word, open View > Macros > View Macros and note the name of the macro you want the button to run.
Place the cursor where the button should appear. In Word for Windows, press Ctrl+F9 to insert field braces, then type MACROBUTTON MyMacro Run Macro between them, replacing MyMacro with your macro name and Run Macro with your preferred label.
Select the field and press F9 to update it. Double-click the displayed text to test the macro; enable macros only if you trust the file.
Select the displayed label and use the Home tab's font, color, or highlighting controls to make it look more like a button.

Edit Word Documents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface and Word format compatibility, making it easy to move everyday documents between office suites. It does not fix Word's MacroButton image limitation, and macro or field behavior should be tested before migration.

Frequently Asked Questions
Can I use an image as the clickable content of a Word MacroButton field?
The reported behavior in modern Word DOCX documents is that an image no longer works as the clickable MacroButton content. Use a text label in the field instead.
Why does my MacroButton not run the macro?
Open View > Macros > View Macros to check that the named macro is available. Also check Word's security prompts and enable macros only when you trust the document and its source.
Do I need a DOCM file for a MacroButton?
A DOCX document can contain a MacroButton field, but it cannot store VBA macros. If the macro is stored in the document itself, save it as a Word Macro-Enabled Document using File > Save As and choose DOCM.
Can I make the text label look like a button?
Yes. Select the displayed MacroButton label and use the Home tab to change its font, color, or highlighting. The clickable content remains text rather than a graphic.




