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 Spelling Exclusion List

Don't like it when Word always says a word is spelled right and you know that it isn't? Here's how you can fine-tune the ...

Discover More

Retrieving Web Query Data without Interruption

If you use Excel's Web Query tools to grab data from a website, you may run into some problems if the site isn't ...

Discover More

Displaying the Command Prompt in Windows 8

Some commands require the use of the command prompt window. How you display that essential window in Windows 8 can be a ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2021 or Microsoft 365. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word Step by Step today!

More WordTips (ribbon)

Keeping Part of a Paragraph with the Next Block of Text

If you are a WordPerfect user, you may be very familiar with the block-protect feature and wonder if there is a similar ...

Discover More

Understanding Paragraph Alignment

One of the most basic ways to align paragraphs is to set the alignment used for the text in the paragraph. Word provides ...

Discover More

Tabbing Beyond the Right Margin

There may be times when you would like to use some tabs in order to extend text to the right of the main text in your ...

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 nine minus 1?

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.