WinWord: PAGEREF Field with Special Bookmarks Produces Error

ID: Q81958

The information in this article applies to:

SUMMARY

Using PAGEREF fields in conjunction with the special predefined bookmarks in Microsoft Word for Windows generates a "Bookmark not defined" error.

MORE INFORMATION

The PAGEREF field inserts the page number of a bookmark for cross-reference purposes; however, with the predefined bookmarks, the page numbers do not work correctly. These bookmarks are defined as reserved and do not display in the Bookmark dialog box. You can use these bookmarks with the Edit Go To command.

The special bookmarks include the following:

   \Sel, \PrevSel1, \PrevSel2, \StartOfSel, \EndOfSel, \Line, \Char,
   \Para, \Section, \Doc, \Page, \StartOfDoc, \EndOfDoc, \Cell, \Table,
   and \HeadingLevel.

Reference(s):

"Microsoft Word for Windows User's Guide," version 2.0, pages 746, 749

"Using WordBasic," by WexTech Systems and Microsoft, pages 88-89

KBCategory: kbusage KBSubcategory: kbfield kbtable Additional query words: 1.x 2.0 2.0a 2.0a-CD 2.0b winword2 winword 7.0 word95 word6 winword 2.0c 6.0 6.0a 6.0c macword word7 word97 7.0a 6.01 6.01a

Keywords          : kbfield kbtable 
Version           : 1.x 2.x 6.0 6.0a 6.0c 7.0 7.
Platform          : WINDOWS

Last Reviewed: February 6, 1998