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

Grabbing a User's Name from Excel

One of the settings you can make in Excel is to specify a user's name. This name is accessible through macros, and can ...

Discover More

Accepting All Formatting Changes

Tired of wading through a bunch of formatting changes when you have Track Changes turned on? Here's how to accept all ...

Discover More

Getting Notification a Recalculation is Necessary

Want to be notified whenever your worksheet needs to be recalculated? Excel may already have you covered, as described in ...

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)

Specifying a Location To Save Automatic Backup Files

Word allows you make two types of automatic backups of your documents. One is a copy of the file before you start making ...

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

Appending to a Non-Document Text File

Your macros can easily add information to the end of an existing text file. This is done by opening the target file in ...

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 one less than 9?

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.