Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Creating a TOC that Includes Specific Styles.

Creating a TOC that Includes Specific Styles

Written by Allen Wyatt (last updated January 21, 2023)
This tip applies to Word 97, 2000, 2002, and 2003


The normal way to create a table of contents (TOC) is to let Word automatically create one based upon the headings in a document. Each paragraph formatted with the Heading 1 style, Heading 2 style, or Heading 3 style is automatically pulled into the TOC.

There may be times when you want to create a TOC that includes paragraph styles other than the heading styles. For instance, you might have a paragraph style you've created for a specific purpose, such as for denoting all the product names in a document. You don't want to format these product names as headings; you instead want to format them with a special paragraph format that calls them out in some manner specific to your needs. (Let's say that you use the style named SpecialProduct for this purpose.) If you then, later, want to include those product names in a special TOC, you can follow these steps:

  1. Position the insertion point at the location in the document where you want the table.
  2. Choose Index and Tables from the Insert menu (Word 97 and Word 2000) or choose Reference from the Insert menu, then choose Index and Tables from the resulting submenu (Word 2002 and Word 2003). Word displays the Index and Tables dialog box.
  3. Click on the Table of Contents tab. (See Figure 1.)
  4. Figure 1. The Table of Contents tab of the Index and Tables dialog box.

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

  7. Change the TOC Level column so that a 4 appears next to the SpecialProduct style. This indicates that you want any paragraphs that are formatted using the SpecialProduct style to end up in the TOC and be formatted in that table with the TOC 4 style.
  8. Make sure there are no other numbers in the TOC Level column.
  9. Click OK to close the Table of Contents Options dialog box.
  10. Click OK to close the Index and Tables dialog box and generate the table of contents.

The result of creating this TOC in this way is that you have a list of all your products, and they are formatted in the list using the TOC 4 style. You can modify the TOC 4 style to reflect how you want the products to appear in the TOC.

You'll note that these steps used TOC level 4 (the TOC 4 style) for the products. The reason for this is simple—it allows you to leave TOC levels 1 through 3 (the TOC 1, TOC 2, and TOC 3 styles) for use in the regular TOC for the document. That way you can use different formatting for the regular TOC and the special product list TOC.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (7000) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Creating a TOC that Includes Specific Styles.

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

Jumping between Columns

Need to jump from one column to another on a page? You can use the handy shortcut keys described in this tip.

Discover More

Field Calculations in Locked Forms

When adding form fields to a document, you may want some of the fields to be automatically calculated from other fields. ...

Discover More

Creating a Chart

Creating a graphic chart based on your worksheet data is easy. This tip provides a couple of different ways you can start ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (menu)

TOC Heading Numbers Always Show in Bold

Linda's got a document that includes a table of contents that is based on headings in the document. When the headings ...

Discover More

Paragraph Numbers in a TOC

Word is great at creating a simple, straightforward table of contents. If you want a more non-traditional TOC, however, ...

Discover More

Adding Column Headings to a Table of Contents

Word makes it easy to create a Table of Contents. If you want column headings in that table, getting them takes a bit of ...

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 1 + 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 menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon 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.