Create a dictionary-style page header

Microsoft Office Word 2003

  • Format the names in the document by using a paragraph or character style.

  • Insert two STYLEREF fields in the document header.

    ShowHow?

    1. On the View menu, click Header and Footer.
    2. In the header, click where you want to insert the information.
    3. On the Insert menu, click Field.
    4. In the Categories box, click (All).
    5. In the Field names box, click StyleRef.
    6. In the Style name box, select the style you used to format the names.

      Note  If you don't see a list of style names, click Hide Codes at the bottom of the dialog box.

    7. Under Field options, select the options you want, but do not select the Search from bottom of page to top check box.
    8. Click OK.
    9. Type some text to indicate a range, such as "through" or a dash.
    10. Repeat steps 3 through 7 for the second field, except that in step 7, select the Search from bottom of page to top check box.
  • When you print the document, the first and last names on each page appear in the header on that page.

    ShowTip

    Where you insert the STYLEREF field determines the direction that Microsoft Word searches for the style and thus affects which text is inserted.

    When you insert the field in:

    ShowHeaders and footers (results for printed document)

    Word searches the current page, from top to bottom, for the specified style. If the style isn't found, Word searches next from the top of the page to the beginning of the document, and then from the bottom of the page to the end of the document.

    If you select the Search from bottom of page to top check box, Word searches from the bottom of the page to the beginning and then the end of the document.

    ShowHeaders and footers (results for electronic document)

    Word searches the section that contains the STYLEREF field, from the beginning, for the specified style. If the style isn't found, Word searches from the end of the section to the end of the document.