Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Tools to View Field Codes.

Tool to View Field Codes

Written by Allen Wyatt (last updated April 1, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021


2

You know you can use the Field Codes check box on the View tab of the Options dialog box to control whether or not field codes are displayed in your document. You may even know that you can use Alt+F9 to switch between field codes and their results. However, what if you are mouse-bound, and want to accomplish the same task quickly without resorting to the keyboard?

You can add a tool to the Quick Access Toolbar that toggles between field codes and field results. To add such a tool, follow these steps:

  1. Display the Word Options dialog box. (In Word 2007 click the Office button and then click Word Options. In Word 2010 and later versions display the File tab of the ribbon and then click Options.)
  2. At the left of the dialog box click Customize (Word 2007) or Quick Access Toolbar (Word 2010 and later versions). (See Figure 1.)
  3. Figure 1. The Quick Access Toolbar area of the Word Options dialog box.

  4. In the list of Categories, select Commands Not in the Ribbon.
  5. Scroll through the long list of commands and select View Field Codes from the list.
  6. Click Add. The View Field Codes command now appears on the right side of the dialog box.
  7. Click on Close to dismiss the Word Options dialog box.

Now, click on the new icon to see your field coding. Click again, and the results of the field codes are instead displayed.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (6080) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Word here: Tools to View Field Codes.

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

Calculating Expressions

Word can do some simple calculations for you, if you add a little-known tool to your toolbar. Here's how to add and use ...

Discover More

Using AutoCorrect to Start Macros

As you are typing, AutoCorrect provides a "check" that what you are entering doesn't match some pre-defined error ...

Discover More

Quickly Displaying Formatting Specs

It's easy to apply formatting to text, but often hard (after the fact) to know exactly what was done. If you often need ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Updating Fields in Locked Forms

Updating form fields in Word can be confusing, especially when the fields are locked in a form. This tips explains why ...

Discover More

Getting Rid of Fields Inserted by Third-Party Programs

Third-party programs can be used to affect a document and change what is contained therein. Of course, getting rid of ...

Discover More

Starting Chapters on Odd-Numbered Pages

Want to start a new heading on an odd-numbered page? You can do it with section breaks, obviously, but you can also do it ...

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 8 - 5?

2023-04-21 09:34:25

Allen

Sunny,

The Alt+F9 shortcut does still work in Word 365. I just tested it in Word 365 version 2303 build 16.0.16227.20202, and it toggles between the display of fields codes and field results, just like it always has.

Of course, the keyboard shortcut is not the focus of this tip. This tip talks about adding a toggling tool to the QAT.

-Allen


2023-04-21 04:24:59

Sunny Jamshedji

This does not display Field Codes in Word 365 like it did using Alt+F9 in older versions of the Word format. If you save files with .doc extension then you can use Alt+F9 to View Field Codes as you have outlined, but then you lose new version features. If you save them as .docx, then you can't use Alt+F9. I have an old document that has been moved and since Word does not use relative paths like it used to decades ago, if you move a document with image links to a different folder, you lose all the file references. I am trying to see which picture I was referring to by the filename, but can't see the filename, because I can't View Field Codes in .docx. You could see/edit these with .doc and View Field Codes, but not anymore. A lot of Catch 22s! Thanks Microsoft!


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu 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.