Formatting Issues

Fix Missing Heading 1 Numbering and Black Squares in Word Lists

Adam DavisAdam Davis Nov 18, 2026 868 views

Question details

Restore Heading 1 formatting and list numbering when black squares appear in place of numbers.

Fix Missing Heading 1 Numbering and Black Squares in Word Lists
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the VBA editor

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.

2
Insert the macro

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

3
Run the macro

Return to the affected document, select View > Macros > View Macros, choose Fixit, and select Run. Review the document's heading numbers and lists.

4
Reapply the heading if needed

Select an affected heading and choose Home > Styles > Heading 1. If numbering is still missing, rebuild its multilevel list using the alternative solution.

Reset list template fonts with a Word VBA macro
Run only trusted macros: Review macro code before running it. If your organization blocks macros, ask your administrator for guidance rather than bypassing its security policy.
Free Microsoft Office alternative

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.

Format headings and numbered lists in WPS WriterOpen and save Microsoft Word DOC and DOCX filesWork in a familiar, easy-to-use interfaceUse a free, lightweight office suite
microsoft office alternative - wps office

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.