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 Last Style on a Page.

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

Written by Allen Wyatt (last updated February 24, 2024)
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. As an example, suppose you wanted your header (or footer) to refer to the last heading on a page, as is frequently done in reference material. You can use the following steps to set up this type of cross-reference.

  1. Position the insertion point where you want the cross-reference to appear (such as in a header or footer).
  2. Press Ctrl+F9 to insert field brackets. Make sure the insertion point stays between the brackets.
  3. Type STYLEREF followed by the name of the formatting style used to format the paragraph you want to cross-reference. The name of the formatting style must be enclosed in quotes. Follow this with the \l switch. Thus, if you wanted to cross-reference the heading 4 style, you would use this within the field brackets: styleref "heading 4" \l.
  4. Press F9 to update the field information. Word replaces the field with the text of the last paragraph on the page formatted with the specified style.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1067) 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 Last 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

Creating a List of Files in a Directory

Do you need a list of all the files in a directory? It's easy to create if you use the proper command-line commands.

Discover More

Removing Only One Text Highlighting Color

If you use text highlighting extensively in your documents, you may want to selectively remove some of the colors. This ...

Discover More

Reversing Integer Values

Do you need to reverse a series of integer values, such as 5 becomes 1, 4 becomes 2, etc.? There are several ways you can ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies 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

Insert AutoText Tool Unavailable on Header and Footer Toolbar

When creating headers or footers, you might notice at some time that the "Insert AutoText" tool on the Header and Footer ...

Discover More

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

A common way to set up a header is to have it refer to the first occurrence of a heading on the page. (Think how the ...

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 one less than 9?

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.