[REF] Bookmark [Switches ]

Inserts the text or graphics represented by the specified bookmark.


bookmarkThe bookmark in the active document.
switches 
\fIncrements footnote, endnote, or annotation numbers that are marked by the bookmark and inserts the corresponding note or comment text
For example, the bookmark "Note1" marks the reference mark of footnote 1
The field { REF Note1 \f } is inserted after footnote 2
The field result displays the footnote reference mark "3" in the document text and inserts the text of footnote 1 into the footnote window
\hCreates a hyperlink to the bookmarked paragraph
\nCauses the field to display the entire paragraph number for a referenced paragraph without trailing periods
No information about prior levels is displayed unless it is included as part of the current level
\pCauses the field to display its position relative to the source bookmark using the word "above" or "below." If the REF field appears in the document before the bookmark, it evaluates to "below." If the REF field appears after the bookmark, it evaluates to "above." If the REF field appears within the bookmark, an error is returned
This switch can also be used in conjunction with the \n, \r, and \w switches
When this is done, "above" or "below" is appended to the end of the field result
\rInserts the entire paragraph number of the bookmarked paragraph in relative context - or relative to its position in the numbering scheme - without trailing periods
\tCauses the REF field to suppress non-delimiter or non-numerical text when used in conjunction with the \n, \r, or \w switch
With this switch, for example, you can reference "Section 1.01," and only "1.01" is displayed in the result.
\wInserts the paragraph number of the bookmarked paragraph in full context from anywhere in the document
For example, when referencing paragraph "ii.," a REF field with the \w switch would return "1.a.ii" as a result.

REMARKS
* For an illustrated example refer to the page under Bookmarks
* In most cases, you can use the bookmark name instead of the REF field. Using the REF field is optional except in cases where a bookmark name matches a Microsoft Word field name. For example, if the bookmark name is "Title", which matches the Word field name TITLE, you must use the REF field instead of the bookmark name. The field { REF Title } inserts the text represented by the "Title" bookmark, whereas the field { Title } inserts the contents of the Title box on the Summary tab in the Properties dialog box (File menu).
* When you insert text copied from another location in the same document, the Paste Special command (Edit menu) inserts a REF field with the bookmark INTER_LINKn, where n is incremented automatically. You should not edit an INTER_LINKn bookmark in a REF field. Also note that REF fields with INTER_LINKn bookmarks in a mail merge main document can cause errors during merging.
* The following REF field assigns the result of an ASK field that prompts the user for the cost per unit. The ASK field prompts the user for information when the field is updated and then assigns the user's input to the bookmark "unitcost":
* The bookmark must be defined in the active document. To insert bookmarked text or graphics from another document, use the INCLUDEPICTURE or INCLUDETEXT field. The Cross-reference command (Insert menu, Reference command) inserts REF fields to create cross-references.
* For the Microsoft documentation refer to support.microsoft.com

Examples

{ REF bookmark }

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top