Stopping the TOC from Appearing in the Navigation Pane

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


Stuart has a document with a TOC where all the TOC lines also appear in the Navigation pane. He can turn this off temporarily, but every time the TOC is refreshed, the lines again appear in the Navigation pane. He wonders if there is a way to create a TOC that won't appear in the Navigation pane.

In order to address Stuart's question, it is important to understand how things end up in the Navigation pane. Inclusion is based on styles applied to paragraphs within your document. If you look at the Paragraph dialog box for a style, you can see an Outline Level drop-down list. (See Figure 1.)

Figure 1. The Paragraph dialog box.

The setting of this drop-down list controls whether the paragraph shows up in the Navigation pane or not. If you choose Body Text, then it doesn't show up there. If you choose something else, then it may show up in the Navigation pane depending on how many heading levels you choose to display in the pane.

By default in Word, any paragraphs formatted with the Heading 1, Heading 2, Heading 3, etc. styles can show up in the Navigation pane because they are the styles that have the Outline Level control set to something other than Body Text.

And that brings me back to Stuart's question, which is a bit ambiguous. So, I'm going to come at it from two angles. First, Stuart may mean that when he generates a TOC, the document headings are included twice in the Navigation pane—once for the actual heading, and once for the heading within the TOC.

The only way I could get this to happen was if the TOC heading styles that correspond to the actual heading styles were messed up. For instance, TOC 1 is the style that corresponds to Heading 1, TOC 2 to Heading 2, etc. If the style definition for TOC 1 has the Outline Level control set to Level 1, then it will show up in the Navigation pane. Thus, both the heading (formatted with Heading 1) and the TOC entry for that heading (formatted with TOC 1) will end up in the Navigation pane.

The solution to this is simple—for each TOC style, make sure the Outline Level control is set to Body Text. Once this is done, the Navigation pane should self-correct, and you should only see your headings.

Now, Stuart's question could also have a different meaning. (Remember that I said it was a bit ambiguous?) It could mean that he doesn't want the TOC to show up in the Navigation pane at all. There is a way to do this, but it means changing how you put your TOC together.

A normal TOC is based on the heading styles in your document; Stuart no doubt already knows this. Heading 1, Heading 2, and so on are all included in the TOC, based upon how many levels you instruct Word to include. And, since the heading level styles have their Outline Level control set to something other than Body Level, they will appear in the Navigation pane.

So, if you create your own styles for your headings and set their Outline Level control to Body Text, they won't appear in your Navigation pane. The final step is to generate your TOC using these custom heading styles.

For instance, let's say that I create styles AWH1, AWH2, AWH3, etc., and use them for my headings. When I create these styles, I need to do two things: make sure the styles are not based on Word's built-in heading styles and make sure that the Outline Level (again, in the Paragraph dialog box for the style) is set to Body Text.

When it comes time to generate the TOC, all I need to do is follow these steps:

  1. Position the insertion point at the location in the document where you want your TOC.
  2. Display the References tab of the ribbon.
  3. At the left of the ribbon click the Table of Contents tool. Word displays a few options.
  4. Click Insert Table of Contents. Word displays the Table of Contents dialog box. (See Figure 2.)
  5. Figure 2. The Table of Contents tab of the Table of Contents dialog box.

  6. Click on the Options button. Word displays the Table of Contents Options dialog box. (See Figure 3.)
  7. Figure 3. The Table of Contents Options dialog box.

  8. Change the TOC Level column to reflect which styles you are using in the table of contents you are inserting. Thus, you would set AWH1 to 1, AWH2 to 2, AWH3 to 3, and so on.
  9. Click on OK to close the Table of Contents Options dialog box.
  10. Click on OK to close the Table of Contents dialog box and generate the TOC.

My custom styles are now used to generate the TOC, and since they have their Outline Level control set to Body Text, they won't appear in the Navigation pane. If they do appear in the Navigation pane, then it means you have the Outline Level control still set incorrectly for the TOC 1, TOC 2, TOC 3, etc., styles, as described earlier.

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

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

Enlarging Icons on the Quick Access Toolbar

Tired of squinting when you look at icons on the Quick Access toolbar? It seems there is no relief from the eye strain, ...

Discover More

Determining the Length of a Text File

When processing plain text files in a macro, it is often helpful to know how much data the file contains. The normal way ...

Discover More

Finding Where the Current Document is Saved

It is possible to have multiple documents on your system, each with the same filename. If you work on those documents at ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Insert a TOC without Upsetting Pagination

Insert a table of contents in your document, and your page numbering may get thrown for a loop. If you want the page ...

Discover More

Two Types of Page Numbers in a TOC

Word, when creating a table of contents, should automatically make sure that the page numbers it shows correspond to the ...

Discover More

Two-Line Headings in a TOC

If you use the TC field to mark what goes in a TOC, you may wonder why if you mark two lines together with the field, ...

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 two more than 7?

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.