How to Install a Word Macro on Mac to Fix Heading List Boxes
Question details
The user needs to install or create a VBA macro in Microsoft Word for Mac to fix an issue where black boxes appear instead of letters at the third level of a multilevel heading list.

- Product
- Microsoft Word for Mac
- Device & OS
- Mac
- Scenario
- Fixing corrupted document formatting and heading list glitches using a specific VBA macro script.
- Observed behavior
- When trying to create the macro to fix the lists, the 'Create' button under the Tools > Macro > Macros menu is disabled or unavailable to the user.
Ensure you have the exact VBA macro script copied to your clipboard and verify that your version of Word for Mac fully supports Visual Basic for Applications (VBA).
Manually Install the Macro via the Visual Basic Editor
If the Create button is missing or disabled in the standard dialog box, you can bypass it and paste the code directly into the VBA Editor.
Microsoft Word for Mac allows direct access to the Visual Basic Editor, which is the most reliable way to insert custom macro code when standard menu options fail.
In Word for Mac, go to the top Apple menu bar, click on 'Tools', select 'Macro', and then click on 'Visual Basic Editor'.
In the VBA Editor window, right-click on your document name or 'Normal' under the Project pane on the left, select 'Insert', and choose 'Module'.
Paste your macro script into the blank module window. Close the VBA Editor, go back to 'Tools > Macro > Macros', select your newly added macro, and click 'Run'.

Fix Naming Errors to Enable the Create Button
The Create button in the Macro dialog box will remain disabled if the entered macro name contains invalid characters or spaces.
Fix Document Formatting Easily with WPS Office
If Microsoft Word for Mac continues to display black boxes in your multilevel lists or makes macro installation difficult, consider switching to WPS Office. It provides a free, lightweight, and highly compatible alternative with robust, stable formatting tools.
- 1. Download and Install WPS Office: Visit the official WPS website, download the macOS version, and complete the installation.
- 2. Open Your Document: Launch WPS Writer and open your existing .docx file containing the problematic heading lists.
- 3. Reapply Multilevel Lists: Highlight your headings, navigate to the Home tab, and select the Multilevel List tool to cleanly apply standard numbering without encountering the black box glitch.

Frequently Asked Questions
Why does Word display black boxes instead of heading numbers?
This is a known formatting corruption issue in Microsoft Word where the font mapping for the list number symbol breaks. Resetting the list style to 'Normal' and reapplying the formatting, or running a corrective VBA macro, usually resolves it.
What if I don't see the Developer or Macro tab in Word for Mac?
You can enable the Developer tab by going to 'Word > Preferences > Ribbon & Toolbar' and checking the 'Developer' box in the list of main tabs on the right side of the window.
Are macros safe to run on my Mac?
Macros are safe if you wrote them yourself or obtained the code from a trusted source, like official Microsoft support forums. You should never run macros from unknown or untrusted documents, as they can contain malicious code.
Can WPS Office run VBA macros on Mac?
Yes, the advanced versions of WPS Office include VBA support, allowing you to run custom macros and automate repetitive document tasks efficiently on your Mac.




