WinWord: PAGEREF Field with Special Bookmarks Produces Error

Last reviewed: February 5, 1998
Article ID: Q81958
The information in this article applies to:
  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1, 6.0.1a

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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.