Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Inserting a Cross-Reference to the First Style on a Page.

Inserting a Cross-Reference to the First Style on a Page

Written by Allen Wyatt (last updated July 25, 2020)
This tip applies to Word 97, 2000, 2002, and 2003


Word includes a cross-reference feature that allows you to indicate the contents of a paragraph formatted with a specific style. This is done with fields, and is used primarily in headers or footers. For instance, let's suppose your document uses headers or footers that refer to headings appearing on the page. This is frequently done in reference material, and is a great help to the reader. You can use the following steps to set up this type of cross-reference.

  1. Set up your header or footer as you want it to appear.
  2. Position the insertion point within the header or footer where you want the paragraph text to appear.
  3. Press Ctrl+F9 to insert field brackets. Make sure the insertion point stays between the brackets.
  4. Type STYLEREF followed by the name of the formatting style used to format the paragraph you want to cross-reference. The formatting style must be enclosed in quotes.
  5. Press F9 to update the field information. Word replaces the field with the text of the last paragraph you formatted with the specified style.

If you set up your header or footer this way, then every time the contents of the referenced paragraph style changes, the contents of the header or footer will change. For instance, let's say that you are using the Heading 2 style in the field. Every time a new paragraph formatted with the Heading 2 style is encountered in your document, the contents of that paragraph are inserted in place of the field in the header or footer.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1002) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Inserting a Cross-Reference to the First Style on a Page.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Inserting the Edit Time

One of the things that Word keeps track of is how long, in minutes, you've been editing your current document. This ...

Discover More

Inserting Only Part of a File

You can easily insert one document within another document. What you may not know is that you can limit which part of a ...

Discover More

Determining the Length of a String

Macros are great for working with strings, and one of the most commonly used string functions is Len. This tip explains ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (menu)

Changing Headers and Footers

Editing what is in your page header or footer is fairly easy, and you can use the same editing techniques you already ...

Discover More

Deleting All Headers and Footers

Headers and footers add a finishing touch to documents, but sometimes they can be bothersome. You may need to remove them ...

Discover More

Protecting Headers and Footers

If you don't want the information in a header of footer to be changed by users of your document, there are a couple of ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 - 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.