Form Fields in Headers and Footers

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


2

Steve uses form fields to allow the entry of standard information in some of his document templates. When he creates a document based on the template, the form fields indicate what needs to be entered, thereby making it easier for users to create the documents in the format necessary.

Some of the information that Steve needs entered must appear in the header of the document. The problem is that Word doesn't allow form fields (or any form controls) to be placed in headers, footers, footnotes, endnotes, and a few other places.

One possible workaround for this problem is to place the form fields in the main body of the document and then reference those form fields using regular fields. For instance, if you take a look at the Options dialog box for a text form field, you'll notice that you can set a bookmark name for the form field. (See Figure 1.)

Figure 1. The Text Form Field Options dialog box.

If you set a name in this field, you can then use the REF field in a header to reference the value of the form field. With the insertion point in the header, follow these steps:

  1. Press Ctrl+F9 to enter a pair of field braces. The insertion point should be within the field braces.
  2. Type REF, a space, and then the name of the bookmark you specified in the Options dialog box for the form field.
  3. Press F9 to collapse the REF field and replace it with the value of the form field.

If your data substitution needs are more complex, you might consider a third-party add-on for Word, such as DataPrompter. This program, written by Word MVP Bill Coan, is capable of automating many of your Word needs. Information is here:

http://www.wordsite.com/products/dpdas.htm

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (202) applies to Microsoft Word 97, 2000, 2002, and 2003.

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

Comparing Lists for Duplicates

Do you have two worksheets on which you need to see if there is duplicate information? Here is a couple of quick ways to ...

Discover More

Workbook Loses All Conditional Formatting

Workbooks created in very old versions of Excel can, at times, have issues when opened in later versions of the program. ...

Discover More

Printing a Screen without the Print Screen Key

The Print Screen key is a handy way to grab a screen shot. What if your keyboard doesn't physically have such a key, ...

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)

Positioning Headers and Footers

Headers and footers can add a finishing touch to your printed documents. Here's how you can position those headers and ...

Discover More

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

It is often helpful to reference a specific heading in the header or footer of a page, and have that reference change on ...

Discover More

Quickly Formatting Footers in Documents with Many Sections

Need to adjust all the footers or headers in a document that uses lots of them? It's easy to do if you understand 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 6 - 0?

2021-04-20 08:18:35

Heather

Hi there Allen. Would you know if there is any way of including form fields in headers w/o the field being visible in the body of my report? The header is to contain the title, date, location, report number which are to be filled in by the user. The body of the report is for the report data analytic 'dashboard'


2020-05-27 21:21:35

Avi

This is a good way to add Form fields in header by referring this from the body. But what if I don't need that in body, but need only in Header, is there a way to achieve this or may be a workaround, hiding the body field or something. I tried, but was not able to hide it also. What options do we have?


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.