Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Hidden bookmarks remain after you remove \h switch from TOC field in Word


Symptoms

Hidden bookmarks may not be removed as expected when you update the table of contents in Microsoft Word. This problem occurs when the following conditions are true:
  • You delete the table of contents (TOC).
  • You delete the \h (hyperlink) switch from the table of contents (TOC) field.

↑ Back to the top


Cause

When Word inserts a table of contents, Word adds the \h switch by default. The \h switch inserts table of contents entries as hyperlinks when the document is viewed as an HTML page. The \h switch also generates hidden bookmarks as targets in the document for the table of contents hyperlinks.

However, when the \h switch is removed from the TOC field, or if the table of contents is deleted, the hidden bookmarks are not removed from the document.

Note To view the contents of the TOC field, press ALT+F9.

↑ Back to the top


Workaround

To work around this problem, manually remove the hidden bookmarks. To do this, follow these steps:
  1. In Microsoft Word 2002 or in Microsoft Office Word 2003, click Bookmarks on the Insert menu.

    In Microsoft Office Word 2007, click the Insert tab, and then click Bookmarks in the Links group.
  2. Click to select the Hidden bookmarks check box to view the list of hidden bookmarks.
  3. In the list of bookmarks, click the bookmark that you want to remove, and then click Delete.
  4. Repeat Step 3 for each bookmark that you want to remove.
  5. Click Close.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kboffice12yes, kbfreshness2006, kbbug, kbnofix, kbword10ready, ocsentirenet, wordrtmpublic, kb

↑ Back to the top

Article Info
Article ID : 292151
Revision : 3
Created on : 4/17/2018
Published on : 4/18/2018
Exists online : False
Views : 127