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

Adding Borders to Cell Contents

Word allows you to quickly add borders to cells in a table, but you may not know that you can also add borders to the ...

Discover More

Using the Status Bar

When developing a macro, you may want to display on the status bar what the macro is doing. Here's how to use this ...

Discover More

Forcing a Page Break Before a Paragraph

There are times that you just want to begin a paragraph (perhaps a heading) at the top of a new page. Word allows you to ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Condensing Figure Caption References

Word can automatically add captions to your figures. You can then reference those captions from within your document. If ...

Discover More

Stopping Fields from Updating when Printing

Fields provide a great way to add dynamic content to your documents. If you don't want those fields to update when you ...

Discover More

Field Calculations in Locked Forms

When adding form fields to a document, you may want some of the fields to be automatically calculated from other fields. ...

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

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.