"Error! Bookmark Not Defined" When Updating Table of Contents

This article was previously published under Q134999
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
When you update a table of contents or figures when Mark Revisions WhileEditing is selected, the error
Error! Bookmark not defined
appears in the deleted (struck through) table of contents.

The same error message also appears in place of text that is the result ofother fields, such as captions and cross-references.
When Word creates a table of contents, it bookmarks the paragraphsformatted with Heading styles, which are used to build the table ofcontents. These bookmarks serve to reference the heading's page referenceand a place to "jump" to when you double-click the page number in the tableof contents. The page number in the table of contents is really a nestedfield, for example:
   { GOTOBUTTON _TOC308930458 { PAGEREF _TOC308930458<AngularNoBind>}}</AngularNoBind>				
The item "_TOC308930458" is a random name defined for the bookmark of aheading referenced in the table of contents. Word creates these bookmarkswhen the table of contents is first generated or when you update the tableof contents (by pressing F9) and choose Update Entire Table, but not whenyou choose to Update Page Numbers Only. When you update the entire table,Word deletes the old table of contents and generates a new one, along withnew bookmarks. Because the bookmarks that the first table of contentsreferenced no longer exist, you will see the error:
Error! Bookmark not defined.
Normally, the old table of contents is deleted; however, with MarkRevisions While Editing turned on, you will still see the old table ofcontents formatted for strike through.
When you accept revisions, Word removes the deleted table of contents anddeletes the "error."

Similarly, captions and cross-references appear correctly when you acceptrevisions.
6.0 7.0 word6 word7 winword word95

ID d'article : 134999 - Dernière mise à jour : 08/16/2005 18:43:29 - Révision : 1.1

Microsoft Word 95 Standard Edition, Microsoft Word 6.0 Standard Edition, Microsoft Word 6.0a, Microsoft Word 6.0c

  • kbfield KB134999