Field codes: PageRef field

Microsoft Office Word 2003

Bookmark [\* Format Switch ] }

Inserts the page number of a bookmark for a cross-reference. To cross-reference items in a document, use the Cross-reference command (Insert menu, Reference submenu).

ShowInstructions

\* Format Switch

Optional switch that overrides the numeral style selected in the Number format box in the Page Number Format dialog box (Insert menu, Page Numbers dialog box, Format).

ShowSwitches

\h

Creates a hyperlink to the bookmarked paragraph.

\p
Causes the field to display its position relative to the source bookmark.

The string "on page #" is used when the PAGEREF field is not on the current page. When the PAGEREF field is on the current page, it omits "on page #" and returns "above" or "below" only.

ShowExamples

In the following example, the bookmark "Worldpop1990" marks the table containing figures for 1990.

Field:

The world population in 1991 was 5 billion; for 1990 figures, see the table { PAGEREF Worldpop1990 \p }.

Result:

The position of the table is inserted in place of the field:

"... see the table above."