Fix Missing Heading 1 Numbering and Black Squares in Word Lists
Question details
Restore Heading 1 formatting and list numbering when black squares appear in place of numbers.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A document uses Heading 1 and numbered lists, but the heading style or its numbering no longer appears as expected.
- Observed behavior
- Heading 1 and list numbering disappear, and large black squares appear where list numbers should be.
Open the affected document in desktop Word and save a separate copy before changing list templates. The macro method requires access to the VBA editor and permission to run trusted macros.
Reset list template fonts with a Word VBA macro
Use this method when corrupted font settings in the document's list templates cause black squares or missing numbering.
The macro resets font settings for every level of every list template in the active document. This may remove intentional list-number font formatting and may not resolve unrelated style problems.
In desktop Word, open the affected document, then select Developer > Visual Basic. If the Developer tab is hidden, enable it in Word's ribbon settings.
In the VBA editor, select Insert > Module and paste the following code: Sub Fixit() Dim templ As ListTemplate Dim lev As ListLevel For Each templ In ActiveDocument.ListTemplates For Each lev In templ.ListLevels lev.Font.Reset Next lev Next templ End Sub
Return to the affected document, select View > Macros > View Macros, choose Fixit, and select Run. Review the document's heading numbers and lists.
Select an affected heading and choose Home > Styles > Heading 1. If numbering is still missing, rebuild its multilevel list using the alternative solution.

Rebuild the multilevel list linked to Heading 1
Use this alternative if the macro does not restore heading numbering or you cannot run macros.
Edit numbered headings with WPS Writer
WPS Writer is a free, lightweight alternative with a familiar interface for editing documents and formatting numbered headings. Open compatible Word files to move your document workflow to WPS Office; it does not repair Word's VBA list templates.

Frequently Asked Questions
Why do black squares appear instead of list numbers in Word?
Font settings in a list template can become corrupted. The VBA macro above resets the font settings for each list level in the active document.
Will the macro restore a missing Heading 1 style?
The macro resets list template fonts, but it may not restore the style itself. Select the heading and choose Home > Styles > Heading 1, then check its multilevel list link.
Can I fix the heading numbering without a macro?
Yes. Select the heading, then choose Home > Multilevel List > Define New Multilevel List and link level 1 to Heading 1.
Will resetting list fonts change other lists?
It can. The macro resets font settings for every level of every list template in the active document, including intentional list-number formatting.




