Hidden Numbered Items Still Affect Numbering

Written by Allen Wyatt (last updated May 17, 2025)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365


Mabel uses numbering in her documents, both in regular numbered lists and in headings. When she applies the Hidden attribute to a portion of the document that happens to be numbered, the remaining numbered items do not get renumbered. Apparently, Word still takes the hidden numbered items into account even though they are hidden. Mabel needs Word to ignore the hidden items and skip their numbering, so that the visible lists and headings use properly sequential numbering when printed.

The short answer is no, Word cannot do this. The program takes hidden text into account in doing automatic numbering, and there is no way to change that. There are workarounds, however.

Perhaps the easiest workaround for the purpose Mabel describes is to simply delete the hidden items before printing. This may sound drastic, but is quite easy to do. You can use Find and Replace to delete the hidden text, then print the document, and finally close the document without saving. You can even use a macro to accomplish these three tasks:

Sub PrintWithoutHidden()
    Dim rng As Range

    ' Turn off screen updating
    Application.ScreenUpdating = False

    ' Save the document
    ActiveDocument.Save

    ' Remove hidden text
    Selection.HomeKey Unit:=wdStory
    Set rng = ActiveDocument.Content
    With rng.Find
        .ClearFormatting
        .Font.Hidden = True
        .Text = ""
        .Replacement.Text = ""
        .Forward = True
        .Wrap = wdFindStop
        .Format = True
        .MatchCase = False
        .MatchWholeWord = False
        .MatchWildcards = False
        .MatchSoundsLike = False
        .MatchAllWordForms = False

        Do While .Execute
            rng.Delete
        Loop
    End With

    ' Print the document
    ActiveDocument.PrintOut

    ' Close the document without saving changes
    ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges

    ' Restore screen updating
    Application.ScreenUpdating = True
End Sub

Besides the three mentioned tasks, the macro saves the document before deleting the hidden text. It then deletes hidden text, prints the document to the current printer, and closes the document without saving.

The second workaround you could use depends on the use of styles. I'm going to assume that you are using a style called MyListItem for your numbered list paragraphs. All you need to do is to create a second style, which I'll call MyListItemHidden, and base it on the MyListItem style. Then, configure the MyListItemHidden style so that it has only two differences from the MyListItem style: (1) it is hidden, and (2) it uses a different numbering format or, alternatively, a bulleted format.

The benefit to this style-based approach is that you can easily switch the format of paragraphs between the MyListItem and MyListItemHidden formats and the numbering in the document is immediately updated.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10470) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Creating a Document Clone

If you need to work with a copy of a document rather than the original document, you can use Word's Open dialog box to ...

Discover More

Changing the Percent Symbol

Some symbols can be easily changed in Excel or in Windows, such as the symbols used for currency and to separate ...

Discover More

Making Word Remember My Settings

Ever had the experience of setting some configuration option in Word, only to have the option revert to a different ...

Discover More

Discover the Power of Microsoft Office This beginner-friendly guide reveals the expert tips and strategies you need to skyrocket your productivity and use Office 365 like a pro. Mastering software like Word, Excel, and PowerPoint is essential to be more efficient and advance your career. Simple lessons guide you through every step, providing the knowledge you need to get started. Check out Microsoft Office 365 For Beginners today!

More WordTips (ribbon)

Adding Paragraph Numbering

You may search high and low for a way to add automatic numbers to paragraphs in a document. You won't find the ...

Discover More

Resetting Paragraph Formatting

Tired of the formatting used in a paragraph? One way to 'start over' is to make sure that the formatting is reset to its ...

Discover More

Adjusting Spacing After a Paragraph

There is no need to press Enter a second time at the end of each paragraph. Let Word take care of the spacing ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five minus 5?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.