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 Only the Active Workbook

When you enter information into a workbook, Excel automatically recalculates every worksheet in every open workbook on ...

Discover More

Highlighting Every Thousandth Character

Not satisfied with the detail provided by the Word Count feature in Word? Perhaps you want to actually know where every ...

Discover More

Editing Headers and Footers

Headers and footers are a nice final touch in a document. You can easily edit them by using the methods described in this ...

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 (ribbon)

Inserting Summary Information

Want to insert into your document those snippets of information that you know Word maintains about your document? It's ...

Discover More

Using Fields for Fractions

Want a quick way to create fractions? You can do it by using fields, as described in this tip.

Discover More

Converting All DATE Fields to Text

Fields allow you to add a lot of dynamic information to your documents. One field you can add is the DATE field, which ...

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 2 + 2?

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.