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

Pulling All Fridays

It can be handy to know when specific weekdays occur within a range of dates. Figuring out this information, using ...

Discover More

Highlighting Duplicate Words

One way to help improve your writing is to minimize the number of duplicated words you use in your prose. Depending on ...

Discover More

Slash Key No Longer Works as Expected

Press the slash key and Excel may display a series of keyboard commands near the ribbon. If this behavior drives you ...

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

Word and Character Count Information

Using fields you can easily insert both the word and character counts for a document into the document itself. Here's how ...

Discover More

Creating an AutoText List

The AUTOTEXTLIST field is one of those esoteric fields that you may know nothing about. The cool thing it does is it ...

Discover More

Inserting Page Number Cross-References

Want to insert a dynamic cross-reference to a particular page number? It's easy to do following the steps in this tip.

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 5 - 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.