WD2000: Unlinked Table of Contents Text Formatted as Underlined and Blue

ID: Q210112


The information in this article applies to:
  • Microsoft Word 2000


SYMPTOMS

When you unlink a table of contents to make editing changes to it, the text of the table of contents is underlined and formatted with the color blue.

NOTE: To unlink a table of contents, select it and press CTRL+SHIFT+F9. When the table of contents is unlinked, it becomes regular text and cannot be updated when you press F9.


CAUSE

When Word inserts a table of contents, Word adds the "\h" switch by default. The "\h" switch inserts TOC entries as hyperlinks.


WORKAROUND

Use one of the following methods to work around this problem:

Method 1: Remove Direct Formatting

After you unlink the table of contents, remove the direct formatting applied to the text of the table of contents, using the following steps:
  1. Select the text of the table of contents.


  2. Press CTRL+SPACEBAR.


Method 2: Delete the TOC "\h" Switch

Before you unlink the table of contents, delete the "\h" switch from the TOC field using the following steps:
  1. Press ALT+F9 to turn on the TOC field code. A TOC field similar to the following appears:


  2. {TOC \o "1-3" \h \z}
  3. Select and delete the "\h" switch from the TOC field code. The TOC field now looks similar to the following:


  4. {TOC \o "1-3" \z}
  5. With the insertion point within the field, press F9 to update the table of contents field.


  6. Press ALT+F9 to turn off the TOC field code and display the table of contents.


Method 3: Insert a Table of Contents Field Manually

Do not use the Index and Tables command on the Insert menu to insert a table of contents. Instead, use the Field command on the Insert menu, using the following steps:
  1. Place the insertion point where you want the table of contents to appear.


  2. On the Insert menu, click Field. The Field dialog box appears.


  3. Under Categories, click to select Index and Tables.


  4. Under Field names, click to select TOC.


  5. Click Options.


  6. On the Options tab, under Switches, click to select "\o" and click Add to field.


  7. Click into the box under Field codes: TOC[Switches] and place the insertion point after the "\o". Type a space followed by "1-3" as in the following example:


  8. TOC \o "1-3"
    NOTE: Add any other switches you want to the TOC field. Do not add the "\h" switch.

  9. Click OK to close the Field Options dialog box.


  10. Click OK to close the Field dialog box. The Table of Contents field is then inserted into your document and displays the table of contents. If you turn on the TOC field code, the TOC field appears similar to the following example:


  11. {TOC \o "1-3" \* MERGEFORMAT}


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

For additional information about tables of contents, please see the following articles in the Microsoft Knowledge Base:

Q212025 WD2000: How to Build a Table of Contents Using Custom Styles
Q212346 WD2000: How to Create a Table of Contents and Index
For more information about tables of contents, click Microsoft Word Help on the Help menu, type table of contents in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

Additional query words:

Keywords : kbdta wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: July 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.