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

Creating Custom Document Properties

by Allen Wyatt
(last updated August 4, 2018)


Besides your actual document, Word also maintains quite a bit of statistical and overview information about your document. You can view a portion of this information by choosing the Properties option from the File menu. Word then displays the Properties dialog box for your document, and you can use the different tabs to view the information maintained.

In addition to the standard properties maintained by Word, you can create your own custom document properties. These can then be used within your document (using the DOCPROPERTY field) or within macros. To create a custom document property, start by displaying the Properties dialog box for the document. How you do this depends on the version of Word you are using. If you are using Word 2010 or a later version, follow these steps:

  1. Click the File tab of the ribbon and make sure that Info is selected at the left side of the screen.
  2. Click the Properties drop-down list and choose Advanced Properties. Word displays the Properties dialog box for the document.

If you are using Word 2007, follow these steps:

  1. Click the Office button and then click Prepare and, finally, Properties. Word displays the Document Information Panel at the top of your document, just below the ribbon.
  2. Use the Document Properties drop-down list (top-left corner of the Document Information Panel) to choose Advanced Properties. Word displays the Properties dialog box for the document.

Regardless of which version of Word you are using, make sure the Custom tab is selected. (See Figure 1.)

Figure 1. The Custom tab of the Properties dialog box.

From this point you can follow these steps:

  1. In the Name box, type the name you want used for your new document property.
  2. Using the Type drop-down list, specify the type that best describes what you will store in this document property.
  3. In the Value box, type the value you want assigned to the property.
  4. Click on the Add button. Your new property appears at the bottom of the dialog box, in the Properties list.
  5. Click on OK or Cancel to dismiss the Properties dialog box.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (12599) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Office 365. You can find a version of this tip for the older menu interface of Word here: Creating 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. ...


Changing the Font Size in Combo Boxes

When you add a combo box to a worksheet, Excel makes some assumptions about the best font size to use in the control. ...

Discover More

Formatting Comments

Need to change the appearance of the text in your comments? It's easy to do using techniques you are already familiar with.

Discover More

Copying Dates a Year Into the Future

Need to copy a range of dates and update them to a different year? Here are a number of ways to accomplish this task with ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Unable to Edit Document with Embedded Fonts

What are you to do if you embed fonts in a document and then someone else cannot make changes to that document? Chances ...

Discover More

Embedding Your Phone Number in a Document

One way you can designate your responsibility for a document is to add your phone number to it. There is no need to add ...

Discover More

Controlling Document Properties

Word keeps track of quite a bit of document-related information that it refers to as "properties." Here's how to control ...

Discover More

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.


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}] 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 + 2?

2019-01-31 17:02:11


Hello! Thanks for your great tips! I often use custom document properties to define information that repeats frequently in reports. The feature is very handy but the user interface isn't so great. The window can't be expanded and I can't see a way to sort the custom document properties. It would be great if they defaulted to alpha order rather than the order they are created in that window. Do you happen to know if there is any way to sort the custom document properties? They show in alpha order when I go to insert field to deploy the fields; just not in the interface where they are defined. You would make my day if you could solve that mystery for me! Also are you aware of any way to link custom document properties in Word to an external data file? Just curious.

2017-02-24 13:45:39


Dear Allen,

For a MS-Word or Office document, in "Document Properties" dialog box .... then "Custom" Tab,
is there a simple solution to change the order of custom properties already typed-in, or to insert a new property between two already existing properties; without being obliged:

01) to erase all the properties below the point of insertion,
02) to insert the new property,
03) and to typed-in one by one all erased properties?


Is there any application or tool to let us to:

01) extract the "Custom Properties" list of an MS-Word document (or any office document, i.g. Excel, PowerPoint, etc, ...),
02) to edit and change the properties (name and value) and the order of typing-in (sorting by different ways),
03) and then erase the List of the "Custom" Tab in the "Document Properties" dialog of the Word document,
04) and import-back in word document the new list obtained by the tool and replace the old list?

Hope you could provide me with some Tips ! :) :) :)


2017-01-27 07:12:41


In reply to question about adding a "Custom Property" Document Number with a "Value" 007 using VB.

Use the following and change the variables where required:

Sub InsertCP()
Dim oCP As DocumentProperty
With ActiveDocument
On Error Resume Next
Set oCP = .CustomDocumentProperties("Document Number")
If Not Err.Number = 0 Then
Set oCP = .CustomDocumentProperties.Add(Name:="Document Number", LinkToContent:=False, Value:="007", Type:=msoPropertyTypeString)
End If
On Error GoTo 0
Debug.Print oCP.Value
End With
End Sub

2017-01-27 07:04:00


"After adding into the 'Custom' tab it doesn't appear anywhere for me to add in the document. I am using Word 2010."

Open the MS Word 2010 document that already has the "Custom Properties" and place your cursor where you want to insert the value.

On the ribbon bar, select "Insert","Quick Parts", "Field".

From the "Categories" drop down select "DocProperty" and select the value you want to insert and click OK.

2016-06-23 16:14:58

Doesn\'t Work

After adding into the 'Custom' tab it doesn't appear anywhere for me to add in the document. I am using Word 2010.

2016-05-02 23:47:58

Buggy Code


The dialogs did as described, however the property does not appear anywhere. Nor does it seem to be able to be used within the document.

2014-08-02 12:32:16


Can any of these custom docproperty be given a value thru vba code?

Say, i want to assign the number 007 to Document number. By alt+f+i, then advanced properties & custom, i can enter it manually.

How to automate the 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.

Newest Tips

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.