Creating a Simple TOC

Written by Allen Wyatt (last updated November 23, 2019)
This tip applies to Word 2000, 2002, and 2003


1

Word is currently a "well connected" program, meaning that it handles—many times automatically—hyperlinks and other accouterments of our connected computing society. It didn't always used to be that way. In fact, Web-related features were added to Word incrementally, over a number of versions.

One manifestation of this was a change made to how Word created tables of contents (TOCs) beginning with Word 2000. Beginning with that version, whenever you added a TOC, Word established hyperlinks for each TOC entry, so that when you click on them, you jump directly to the corresponding head in the document.

What if you don't want hyperlinks in your TOC, however? Unfortunately, there is no check box or configuration setting you can use to turn off this behavior. Instead, you must follow these steps to get rid of the hyperlinks:

  1. Position your insertion point somewhere within your TOC.
  2. Press Shift+F9. The TOC disappears and the underlying field code is displayed in its stead. The field code should look something like the following. (The actual appearance of the field code will differ, based on how you asked the TOC to be constructed.)
  3.      { TOC \o "1-3" \n \h \z }
    
  4. Remove the \h switch. This is the switch that causes Word to treat the TOC entries as hyperlinks.
  5. Press F9. Word displays the Update Table of Contents dialog box.
  6. Make sure the Update Entire Table radio button is selected.
  7. Click on OK.

You should note that you will need to follow these steps each time you use Word to insert your TOC. In other words, you will need to do it whenever you choose Index and Tables from the Insert menu to add or update your TOC. If you are only updating the TOC, then Word remembers your changes and won't reapply the hyperlinks.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (546) applies to Microsoft Word 2000, 2002, and 2003.

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

Counting Employees in Classes

Excel is very good at counting things, even when those things need to meet specific criteria. This tip shows how you can ...

Discover More

Quickly Changing Columns

You can use the Columns tool, available on the Page Layout or Layout tab (depending on which version of Word you are ...

Discover More

Pictures Move on their Own

Insert some pictures into a document and you may be in for a surprise--they don't necessarily stay where you put them. ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More WordTips (menu)

Problems with TOC Styles

If you generate a table of contents for your document, there may be some unexpected surprises in the way the TOC appears. ...

Discover More

Page Ranges in a TOC

It is easy to generate a table of contents for a document, and that TOC can contain page number references for each ...

Discover More

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

2020-07-12 03:06:23

John Derrett

I always want to 'update entire table' when updating a ToC in Word.
Is there a way I can set this to the default (rather than 'Update page numbers only')

PS Love your tips :=)


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.