Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Creating Custom Document Properties.

Creating Custom Document Properties

by Allen Wyatt
(last updated February 19, 2016)

12

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, follow these steps:

  1. Choose Properties from the File menu. Word displays the Properties dialog box for your document.
  2. Make sure the Custom tab is selected. (See Figure 1.)
  3. Figure 1. The Custom tab of the Properties dialog box.

  4. In the Name box, type the name you want used for your new document property.
  5. Using the Type drop-down list, specify the type that best describes what you will store in this document property.
  6. In the Value box, type the value you want assigned to the property.
  7. Click on the Add button. Your new property appears at the bottom of the dialog box, in the Properties list.
  8. 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 (661) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) 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. ...

MORE FROM ALLEN

Working With Multiple Printers

If you have multiple printers accessible to your computer, you may need a way to quickly print your worksheet on a specific ...

Discover More

Importing a Subset of Records

If you only want to import a portion of whatever records are in a text file, Excel provides a number of ways you can ...

Discover More

Creating a Named Range

Named ranges can be a great boon in creating easily understandable formulas. Here's what they are an how to define them.

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 (MENU)

Changing AutoComplete Words

AutoComplete allows you to easily complete words you are typing in your document. If AutoComplete is presenting you with the ...

Discover More

Selective Undo

Ever wonder why you can't undo just a single edit you made a few minutes earlier? The short answer is that it could make your ...

Discover More

Displaying Nonprinting Characters

Nonprinting characters are a great boon when you are editing a document. Turn them on and you can easily see what characters ...

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 for this tip:

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. 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 more than 9?

2016-07-20 16:35:02

Chris

To insert the custom property, from the Insert tab, in the text section click on the insert Quick Parts drop down, field, Category: DocProperty, Property: (the name of your custom property), and then click OK. If this is the first time you are using the field it should display the value you defined. If you modify the value, you have to click on File, Print/Print Preview and then click the back arrow. This will update the field value.


2016-06-23 16:20:19

Nick

I have the same issue as Cas and Kristina. I successfully add the property as stated, but no such property is available within the document. I've seen many forums with this problem, but no one even replies to this issue... Any advise? Anybody?


2016-06-08 12:54:31

Gary Cole

What is the "Link to content" box for that shows in the Custom tab?


2016-05-31 00:30:12

Cas

Hi
I follow the instructions to create custom properties in Word and Excel 2016 but when clicking OK , nothing happens.
No property gets added at all .
Am I missing a setting somewhere ?
Thanks
Cas


2015-05-28 17:19:21

Ruth

It would be nice to have a discussion of how the "Link to content" button is used.


2015-03-30 17:45:07

Safety ManNY

@ Soul Maz,

Yes, if you create a new document property or even reuse one of the built-in ones, you can do what you are seeking. I've done it myself the same way.


2015-02-18 02:58:08

Kristina

How do i get the Document property into my word document?

I have added the document property in the Properties dialog, but I do not seem to be able to add the { DOCPROPERTY “Fieldname” } in the document itself. When typing it word does not recognize as field markers. Ctrl+F9 brings up the control panel, Fn+F9 does not do a thing (on a table of contents it updates the field) and Alt+F9 also brings up the control panel. I am running word 2013.

Thanks for advise.


2015-02-02 15:23:59

soul maz

Hi
I want a chance to be able to update my safety document for each project. The whole document is the same for all projects except the title and address and project manager. Am I in a right track by using custom document properties in MS word?


2014-05-16 07:43:00

Richard Koch

How can I highlight all occurrances of custom document properties in a Word 2013 document?

I had this feature in Word 2003.


2014-02-10 21:43:54

Klick

Hi there,
Once you create the document property, how do you create another box, whereby as you edit one box, the other automatically updates.


2013-08-12 04:02:56

Peter Johnson

Hi John

Value is simply the value you want the property to have. Let me demonstrate with an example.

Suppose you wanted to store an address. You could add a series of properties named ‘Street’, ‘City’, ‘State’, (step 3) all with a type of ‘string’ (step 4). To be useful these need a value - this is what you put in at step 5 e.g. ‘1600 Pennsylvania Avenue NW’, ‘Washington,’ ‘D.C.’.

Now you need to use them in your document. Continuing Allen’s numbering.

8. Click where you want to put the address and hit Ctrl+F9. This inserts what looks like a pair of brace brackets (actually they are field markers).
9. Between them type the word DOCPROPERTY followed by the name of your property in quote marks. Your document will then look something like … { DOCPROPERTY “Street” }.
10. Right click anywhere between the brace brackets and click on Update Field

Job done - your document now displays 1600 Pennsylvania Avenue NW.

Regards
Peter


2013-08-11 19:20:11

John

Item 5. - I don't understand what the value is. What value? What does the term mean?


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Newest Tips
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.

Links and Sharing