Make Word 2019 Show an Image When Text Is Double-Clicked
Question details
The user wants text in a Word 2019 document to reveal an image when clicked.

- Product
- Microsoft Word 2019
- Device & OS
- not provided
- Scenario
- Create interactive text, such as a guitar chord label, that reveals an associated image.
- Observed behavior
- Word 2019 has no native pop-up image feature for ordinary text. A MacroButton field can run a macro on a double-click to display hidden content.
Use desktop Word with VBA support, and confirm that your organization's security policy permits trusted document macros. For the hidden-image approach, turn off Home > ¶ and clear Hidden text under File > Options > Display so the image can initially remain hidden.
Reveal a hidden inline image with a Word MacroButton field
Use this approach when the interaction must stay inside Word and recipients can run trusted macros.
This workaround reveals an image in the document rather than opening a pop-up. The macro toggles the display of all hidden text in the active document window, not just one selected image.
Choose Insert > Pictures and insert your image. Select it, choose Picture Format > Wrap Text > In Line with Text, and then open the Home tab's Font dialog launcher. Select Hidden and click OK.
Open the Visual Basic editor from Developer > Visual Basic. If Developer is missing, enable it under File > Options > Customize Ribbon. In the editor, select your document's project, choose Insert > Module, and paste: Sub ToggleHiddenImages() ActiveWindow.View.ShowHiddenText = Not ActiveWindow.View.ShowHiddenText End Sub Close the editor to return to Word.
Place the cursor where the clickable text should appear. Press Ctrl+F9 to insert field braces, then type MACROBUTTON ToggleHiddenImages Double-click here for Guitar Chord between them. Use Word's inserted braces; typing ordinary braces will not create a field. Select the field and press F9 to update it. If field codes remain visible, press Alt+F9 to show the display text.
Choose File > Save As and select Word Macro-Enabled Document (*.docm). Double-click the field's display text to reveal the image, then double-click again to hide it. Keep Home > ¶ turned off during testing.
Tell recipients that the document uses a macro and should be opened in desktop Word. If a security notification appears, they should enable content only after verifying that they trust the document and its source. Organization-managed settings may prevent the macro from running.
Use a PowerPoint animation trigger to show an image on a click
Choose PowerPoint when you need a single-click reveal during a presentation without relying on VBA macros.
Use WPS Office for documents and image-based presentations
WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for easy migration. For a macro-free alternative to Word's hidden-image workaround, use WPS Presentation to link a text label to a slide containing the image. WPS does not fix Word's MacroButton behavior, and you should not assume that Word VBA macros will run in WPS.

Frequently Asked Questions
Can Word show a pop-up image when I single-click ordinary text?
Word 2019 does not provide a native pop-up image feature for ordinary text. A MacroButton field normally runs its assigned macro when double-clicked, and the hidden-image workaround reveals content within the document rather than in a pop-up.
Why does the image remain visible after I run the macro?
Check Home > ¶ and File > Options > Display. Show all formatting marks can keep hidden content visible even when the macro turns ShowHiddenText off. Also confirm that the picture uses In Line with Text and has Hidden selected in the Font dialog.
Why does double-clicking the MacroButton text do nothing?
Confirm that the field names the macro exactly, the macro is stored in the document, and the file was saved as .docm. Check File > Options > Trust Center > Trust Center Settings > Macro Settings. If macros are disabled without notification or blocked by organizational policy, no enable-content prompt may appear; do not bypass those restrictions.
Can I use a hyperlink instead of a macro?
Yes. Select the text and choose Insert > Link to link to an image file or an accessible image URL. This opens the target through the associated application or browser rather than revealing an image inside Word. Recipients must have access to the linked location.
Will the macro reveal only the guitar chord image?
No. The sample macro changes ActiveWindow.View.ShowHiddenText, which controls the visibility of all hidden content in that document window. If you need separate click controls for multiple images, use individual PowerPoint animation triggers instead.




