WinWord: PAGEREF Field with Special Bookmarks Produces Error

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. 


REFERENCES

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

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

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 : MACINTOSH:6.0,6.0.1,6.0.1a; WINDOWS:1.0,1.1,1.1a,2.0,2.0a,2.0a-CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0,7.0a; :
Platform : MACINTOSH WINDOWS
Issue type :


Last Reviewed: December 22, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.