How to Fix Heading 3 Numbering Displayed as a Black Box in Word
Question details
The user needs to fix an issue in Microsoft Word where the numbering for Heading 3 displays as a solid black box.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Editing a document with multi-level lists or custom heading styles.
- Observed behavior
- Heading 3 numbering appears as a black box in the document body despite showing correctly in the table of contents, and standard formatting changes do not fix it.
Before running any VBA macros or modifying your list templates, ensure you save a separate backup copy of your document to prevent accidental data loss.
Run a VBA Macro to Repair the Numbering
Since standard style adjustments cannot resolve this corruption, you must use a VBA macro to fix the broken list template in the background.
This black box error is caused by a corrupted multi-level list template hidden in the document's code. Running a repair script provided by Word MVPs (like Doug Robbins) resets the damaged numbering variable.
Open your problematic Word document and press Alt + F11 on Windows (or Option + F11 on Mac) to launch the Microsoft Visual Basic for Applications editor.
In the top menu, click 'Insert' and select 'Module' to open a blank coding window.
Paste the specific VBA macro code designed to fix the black box numbering issue into the module window.
Close the VBA editor to return to your document. Press Alt + F8, select the macro you just created from the list, and click 'Run'.

Recreate the Multi-Level List
If you are unable or unwilling to use VBA macros, completely rebuilding the multi-level list can sometimes override the corrupted formatting.
Try WPS Office for Bug-Free Document Formatting
Tired of dealing with corrupted formatting and complex macro fixes in Word? WPS Office provides a highly stable, lightweight word processor that handles multi-level lists flawlessly without numbering glitches.
- 1. Download the Software: Visit the official WPS website and download the free WPS Office installer.
- 2. Open Your Document: Launch WPS Writer and open your existing .docx file directly.
- 3. Edit Without Glitches: Manage your heading styles and multi-level lists smoothly without relying on complex VBA macros.

Frequently Asked Questions
Why does the black box only appear in Heading 3?
This glitch occurs when a specific level of a multi-level list template becomes corrupted. It most commonly affects Heading 3 due to copying and pasting styled text between different documents with conflicting formatting.
Will the black box appear if I print the document or save it as a PDF?
Yes. Because Word processes the black box as the actual rendering of the corrupted number, it will carry over into printed copies and exported PDF files.
How can I prevent list numbering corruption in the future?
To prevent this issue, avoid applying manual list numbering to headings. Always set up your numbering using the 'Define New Multilevel List' dialog and link the number levels directly to your heading styles.




