Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. 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: Formatting Text in Custom Document Properties.

Formatting Text in Custom Document Properties

Written by Allen Wyatt (last updated January 18, 2024)
This tip applies to Word 2007, 2010, and 2013


Mark asked if there is a way to apply character-level formatting (bold, italic, etc.) to text that is stored in a custom document property. The short answer is that there is no way to do this. There is, however, a way to apply formatting the field used to insert the document property into the body of your document. Follow these steps:

  1. Press Ctrl+F9 to insert a pair of field braces.
  2. Inside the field, type the following: docproperty Custom1 /* charformat
  3. Manually format the "d" in docproperty the way you want (bold, italics, etc.).
  4. Press F9 to update the field.

The above steps result in the document property being formatted with the same characteristic that you applied to the first character in step 3. If the document property has more than one word in it, you should realize that the formatting will only be applied to the first word in the result.

This, of course, won't help you if you need a more granular level of formatting. For instance, if the document property is a single-word company trademark and the first four characters are in regular type and the last five are in bold, then that level of formatting cannot be done through either document properties or in the field used to insert the document property.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13259) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Formatting Text in Custom Document Properties.

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

Understanding Relative and Absolute Addressing

In Excel you can reference a cell in a formula by entering the coordinates for the cell you want to reference. This can ...

Discover More

Leaving Even Pages Blank

Want to print your document only on odd-numbered pages in a printout? There are a couple of things you can try, as ...

Discover More

When Clicking a Cell, Excel Jumps to a Different Cell

When you click on a cell, you expect the cell to be selected. What happens, though, if you are instead taken to an ...

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)

Inserting a File

Need to combine several files into a single document? You can do it by inserting one file into another, as outlined in ...

Discover More

Opening a Text File and Template from the Command Line

Word includes a command-line syntax that you can use to open files and do other operations. If you want to load a text ...

Discover More

Inserting a File Name without an Extension

Sometimes you might like to insert a file name into your document without including the file extension. The FILENAME ...

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

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.