Office Compatibility Issues

Use Text Instead of a Graphic in a Word MacroButton Field

Khadija KhanKhadija Khan Nov 22, 2026 870 views

Question details

The user needs a clickable control in a Word MacroButton field when a graphic no longer works as the button.

Use Text Instead of a Graphic in a Word MacroButton Field
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.
Before you start

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.

Solution 1Recommended

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.

1
Check the macro name

In Word, open View > Macros > View Macros and note the name of the macro you want the button to run.

2
Insert the field

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.

3
Display and test the 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.

4
Format the text

Select the displayed label and use the Home tab's font, color, or highlighting controls to make it look more like a button.

Replace the MacroButton Graphic with Clickable Text
Graphic limitations: An INCLUDEPICTURE-based approach may be worth investigating if a graphic is essential, but it is not a guaranteed replacement for a clickable image in a MacroButton field.
Free Microsoft Office alternative

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.

Edit document text and format button-like labels in WPS WriterOpen and edit Microsoft Word DOCX filesUse a familiar document-editing interface for a smoother transitionWork with a free, lightweight office suite
QA img-9

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.