Creating a Table of Contents from TOC Fields

by Allen Wyatt
(last updated June 22, 2019)

Word allows you to create a table of contents using your own TOC specifications. You do this by first inserting TOC fields in your document (as described in the previous tip) and then compiling the actual TOC. To compile the TOC, follow these steps:

  1. Position the insertion point where you want the TOC inserted.
  2. Display the References tab of the ribbon.
  3. Click the Table of Contents tool in the Table of Contents group. Word displays a drop-down list from which you should choose Custom Table of Contents. Word displays the Table of Contents dialog box.
  4. Make sure the Table of Contents tab is selected. (See Figure 1.)
  5. Figure 1. The Table of Contents tab of the Index and Tables dialog box.

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

  8. Make sure the Table Entry Fields check box is selected (at the bottom of the dialog box).
  9. Click on OK to close the Table of Contents Options dialog box.
  10. Click on OK to generate your 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 (12660) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Office 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

Word's Object Model

Understanding Word's Object Model and how it relates to macros in VBA.

Discover More

Using List Box Controls

List boxes can be a great tool for getting input from users of your worksheets. This tip describes what list boxes are ...

Discover More

Controlling Chart Gridlines

Gridlines are often added to charts to help improve the readability of the chart itself. Here's how you can control ...

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)

Updating an Entire TOC from a Macro

The TOC (Table of Contents) is generated by a field. This field may be updated in a macro using a single command line.

Discover More

Using Dot Leaders in Special Tables

Adding dot leaders before page numbers in a table of contents or table of authorities can make the finished table look ...

Discover More

Hyperlinks from Headings to the TOC

A table of contents is a great way to help organize lengthy documents. In a default TOC, you can use each entry as a ...

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}] 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 three minus 2?

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.

Newest Tips
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.