Microsoft KB Archive/292151

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

Article ID: 292151

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Office Word 2007
 * Microsoft Office Word 2003
 * Microsoft Word 2002 Standard Edition

-



This article was previously published under Q292151





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.



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.



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.
 * 1) Click to select the Hidden bookmarks check box to view the list of hidden bookmarks.
 * 2) In the list of bookmarks, click the bookmark that you want to remove, and then click Delete.
 * 3) Repeat Step 3 for each bookmark that you want to remove.
 * 4) Click Close.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Additional query words: web page html

Keywords: kbbug kbnofix KB292151

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.