Formatting Issues

How to Fix Heading 3 Numbering Displayed as a Black Box in Word

Steve KSteve K Nov 3, 2026 869 views

Question details

The user needs to fix an issue in Microsoft Word where the numbering for Heading 3 displays as a solid black box.

How to Fix Heading 3 Numbering Displayed as a Black Box in Word
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 you start

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.

Solution 1Recommended

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.

1
Open the VBA Editor

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.

2
Insert a New Module

In the top menu, click 'Insert' and select 'Module' to open a blank coding window.

3
Paste the Repair Code

Paste the specific VBA macro code designed to fix the black box numbering issue into the module window.

4
Run the Macro

Close the VBA editor to return to your document. Press Alt + F8, select the macro you just created from the list, and click 'Run'.

Run a VBA Macro to Repair the Numbering
Macro Security: If you cannot run the macro, you may need to temporarily enable macros by navigating to File > Options > Trust Center > Trust Center Settings > Macro Settings.
Free Microsoft Office alternative

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. 1. Download the Software: Visit the official WPS website and download the free WPS Office installer.
  2. 2. Open Your Document: Launch WPS Writer and open your existing .docx file directly.
  3. 3. Edit Without Glitches: Manage your heading styles and multi-level lists smoothly without relying on complex VBA macros.
Fully compatible with Microsoft Word (.docx) formats and heading styles.Stable multi-level list formatting without black box errors.Free, lightweight, and fast alternative to heavy Office suites.Familiar ribbon interface ensures a zero-learning-curve transition.
microsoft office alternative - wps office

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.