WD: Go To \Page Bookmark Selects Whole DocumentLast reviewed: February 2, 1998Article ID: Q105567 |
The information in this article applies to:
SYMPTOMSWhen 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" CAUSEWord 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.
WORKAROUNDTo work around this problem use either of the following methods:
MORE INFORMATIONThe \Page bookmark is a reserved, predefined bookmark in Word that returns the contents of the current page.
|
Additional query words: 8.0 8.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |