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

Finding Boolean Values

Excel worksheets can contain all sorts of data. One thing you might store in a worksheet is a range of Boolean (TRUE or ...

Discover More

Replacing and Converting in a Macro

When you use a macro to process data you always run the risk of making that data unusable by Excel. This is especially ...

Discover More

Jumping to a Relative Page

When you are navigating around your document, you may find it helpful to jump a certain number of pages either toward the ...

Discover More

Do More in Less Time! An easy-to-understand guide to the more advanced features available in the Microsoft 365 version of Word. Enhance the quality of your documents and boost productivity in any field with this in-depth resource. Complete your Word-related tasks more efficiently as you unlock lesser-known tools and learn to quickly access the features you need. Check out Microsoft 365 Word For Professionals For Dummies today!

More WordTips (ribbon)

Decreasing a Paragraph's Indent

When formatting your document, you often have a need to indent paragraphs. If you later want to decrease the indent used ...

Discover More

Format Painter Messes Up Ordinals

The Format Painter is a handy tool for quickly copying formatting from one place to another. Used incorrectly, though, ...

Discover More

Understanding Justification

Paragraphs can be aligned in four different ways. This tip examines those alignment methods.

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 3 + 3?

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.