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)

13

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

Taking Pictures

Have you ever wanted to take a "picture" of a part of a worksheet and put it in another section? This tip explains how to use ...

Discover More

Handling Leading Zeros in CSV Files

When dealing with files containing comma-separated values, you want to make sure that what gets imported into Excel reflects ...

Discover More

Determining the Number of Pages in Your Document

If your macro needs to know how many pages are in your document, you can use the Information method to get the desired info. ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (menu)

Understanding the Clipboard

You can use the Windows Clipboard to move information around in Word. To make the most of the Clipboard, it is helpful to ...

Discover More

Creating Compound Characters

Word provides access to a wide variety of characters either from the keyboard or from the Symbol dialog box. Up and above ...

Discover More

Inserting Special Spaces

Do you need to frequently add en spaces and em spaces to your documents? You can add special tools to Word that make ...

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

2017-07-31 05:47:55

Rui Nogueira da Costa

To add this propriety to the text:

1. Go to "Insert"(tab) -> "Quick Parts" -> "Field"
2. On the list to the left find "DocPropriety" and click it
3. On the list on the middle, select the costum propriety you created and click OK


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.