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: Can't Place Merge Field in Header of a Catalog Merge Document.

Can't Place Merge Field in Header Of a Catalog Merge Document

Written by Allen Wyatt (last updated June 23, 2018)
This tip applies to Word 97, 2000, 2002, and 2003


Christy asked why she couldn't get Word to place merged data into the header of a document when creating a catalog. Word would work just fine when creating form letters, but not when doing catalogs.

There are several different types of merge operations you can do in Word. The Mail Merge feature allows you to create labels, envelopes, form letters, and catalogs. Understanding the differences between creating form letters and creating catalogs is essential in understanding why you can't insert merge data in a header or footer.

When you create form letters, Word creates a new letter (document) for each record in your data source. It separates each letter by a section break. When you create a catalog, Word doesn't have this one-to-one equivalence between sections and data records. Catalogs are designed to have multiple records per page—just like product entries in a printed catalog.

Let's say you place the data field "Part Number" in the header of a catalog merge document. Further, Word is able to place fifteen actual records on the final merged page. Exactly which part number is Word supposed to place in the header of the page? It has fifteen to choose from, since it placed fifteen records on the page. Because there is no on-to-one correspondence between records and sections, Word can't place the data in the header or footer.

One way around this, of course, is to utilize Word's fields. Instead of placing a data field in the header, place a field that references the first or last occurrence of a style on a page (the STYLEREF field). For instance, you could format your part numbers so they used a particular heading level. Your header or footer could then reference that style, so the merged document would show the first or last part number on a particular page.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1578) 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: Can't Place Merge Field in Header of a Catalog Merge Document.

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

Superscripts in Custom Formats

When you create custom formats for your data, Excel provides quite a few ways you can make that data look just as you ...

Discover More

Pulling Headers and Footers from Other Files

You may have some standard headers and footers you want to make available in your document templates. This tip describes ...

Discover More

Adding Diagonal Borders

Want to add a border diagonally, through the middle of a table cell? It's easy if you follow the formatting steps ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (menu)

Refreshing the Discussion

To keep up with the Discussion, you will need to refresh the comments to make sure you are in-the-know.

Discover More

Using Mail Merge to Complete Documents

Mail merge can be used to put together groups of documents that rely on common information. This tip shows how mail merge ...

Discover More

Updating Document Links

If you establish dynamic links between documents, then you can force Word to update those links whenever you want. How ...

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 six minus 4?

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.