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

Building Your Own Web Page

Want to build a Web page using Word? Here's an overview of how it works.

Discover More

Turning Off Speech Capabilities

Excel can talk to you, reading back whatever you enter into a cell. If you want to turn this capability off, you'll want ...

Discover More

Accessing Footnote Numbers in a Macro

If you want to modify how footnote numbers look in your document, you can modify them manually. Of course, there are ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

Getting a List of Folder Contents

There are a variety of methods you can use to get a list of files into a Word document. This tip examines a couple of ...

Discover More

Automatically Formatting an ASCII File

Import a file from a source external to Word, and you can end up with a formatting nightmare. One big step is to remove ...

Discover More

Making Backup Copies

When you save your documents, Word doesn't normally make backups of your files. If you want the program to do that, it ...

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