WD: Go To \Page Bookmark Selects Whole Document

Last reviewed: February 2, 1998
Article ID: Q105567
The information in this article applies to:
  • Microsoft Word for Windows, version 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 version 6.0, 6.0.1, 6.0.1a
  • Microsoft Word 98 Macintosh Edition

SYMPTOMS

When you click Go To on the Edit menu and type "\Page" (without the quotation marks) in the Enter Page Number box, sometimes Word for Windows selects the entire document instead of the current page.

This can also happen when you run a macro that uses the "\Page" reserved bookmark as shown in the following examples.

Word 6 and Word 7

   EditGoTo .Destination = "\page"

Word 97 and Word 98

   Selection.GoTo What:=wdGoToBookmark, Name:="\page"

CAUSE

Word has not yet paginated your document, or the Background Repagination option is not turned on.

Word repaginates your document before inserting page breaks. Until Word repaginates the document, it treats the document as a single page. If a new document has not been repaginated, the \Page bookmark selects the entire document. After repagination, Word inserts page breaks, so the \Page bookmark correctly selects only the current page.

WORKAROUND

To work around this problem use either of the following methods:

  • If background repagination is turned off, switch to Page Layout view or Print Preview, which forces Word to repaginate your document, then use the Go To command.

        -or-
    
  • Turn on the Background Repagination option, by following these steps:

    1. On the Tools menu, click Options (click Preferences in Word 98).

    2. Select the General tab.

    3. Click to select the Background Repagination check box and then click

          OK.
    

MORE INFORMATION

The \Page bookmark is a reserved, predefined bookmark in Word that returns the contents of the current page.


Additional query words: 8.0 8.00
Keywords : kbformat macword winword word6 word7 word8 word95 word97 macword98
Version : WINDOWS: 6.0, 7.0, 97; MACINTOSH: 6.0, 6.0.1, 98
Platform : MACINTOSH WINDOWS
Issue type : kbprb
Solution Type : kbworkaround


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 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.