Creating a Simple TOC

by Allen Wyatt
(last updated August 4, 2012)

4

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

Displaying Toolbars

Toolbars allow you to access common tasks quickly and easily. Excel provides a wide variety of toolbars, and you can even ...

Discover More

Resetting All Shortcut Keys

At some point you might want to wipe out all the custom shortcut keys you've created in Word. This is easy to do by following ...

Discover More

Creating Individual Workbooks

Workbooks can contain many worksheets. If you want to pull a workbook apart and create a whole series of workbooks based on ...

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 (menu)

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

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

Jumping Back to the TOC

Word allows you to create a table of contents that provides hyperlinks to headings within your document. It doesn't make it ...

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. 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 4 + 2?

2015-07-27 20:46:24

Curt

I think you mean Alt-F9, in step 2, not Shift-F9? Shift-F9 only displays the field code for the line where I place my insertion point.


2014-12-20 18:34:44

awyatt

George, see here:

http://store.tips.net/T010090

-Allen


2014-12-20 11:20:51

George Arnold

Do you have a WordTips eBook comprehensively addressing Tables of Contents. Your Comprehensive List of WordTips CD was no help in locating this eBook, if it exists. Your site and your search results were not helpful either.


2012-08-04 06:56:57

csr

The simplicity of TOC in the Word tip is useful but the ability of Word (2003) to deal with hyperlinks is also useful
For example in the creation of a Manual with many elements (Chapters) combined together if bookmarks have been used (e.g. by using heading styles) such bookmarks will also appear in the TOC. If the content has hyperlinks to other elements (documents) or to other elements in within the same document, such can usefully appear in the TOC
Another thought is that if the document needs to be converted to PDF such bookmarks and TOC will be maintained
csr


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.

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.