Microsoft KB Archive/105567

= WD: Go To \Page Bookmark Selects Whole Document =

Article ID: 105567

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a
 * Microsoft Word 6.0 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q105567





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 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 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:


 * On the Tools menu, click Options (click Preferences in Word 98).
 * Select the General tab.
 * 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 kbprb KB105567

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.