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: Inserting Custom Properties with Fields.

Inserting Custom Properties with Fields

by Allen Wyatt
(last updated March 12, 2015)

10

Word maintains a number of different properties related to your documents, as a whole. You can see what these properties are by choosing Properties from the File menu. You can even use the Custom tab to create your own custom properties for your documents.

Inserting the values of properties into a document is done using different fields. Pre-defined properties have their own corresponding fields. For instance, if you want to insert a document's creation date into your text, you do so using the CreateDate field.

What you may not know is how to insert in your document values assigned to custom properties. In order to do this, let's assume you have created a custom property named MyProp. To insert the value of this property in your document, follow these steps:

  1. Position the insertion point where you want to insert the value of the custom property.
  2. Choose Field from the Insert menu. Word displays the Field dialog box. (See Figure 1.)
  3. Figure 1. The Field dialog box.

  4. In the list of Categories, choose Document Information.
  5. In the list of Field Names, choose DocProperty.
  6. If you are using Word 97 or Word 2000, click the Options button. Word displays the Field Options dialog box. (See Figure 2.)
  7. Figure 2. The Field Options dialog box.

  8. In the Property list, choose the custom property you created (MyProp).
  9. If you are using Word 97 or Word 2000, click on Add to Field.
  10. Click on OK to close the Field Options dialog box.
  11. Click on OK. Word inserts the value of MyProp in your document.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1498) 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: Inserting Custom Properties with Fields.

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

Using Document Properties to Ensure Consistent References

If you need to refer to the same information over and over in a document, you may be interested in using custom document ...

Discover More

Sticking with the Dashes

By default, dashes don't "stick" to the text that follows them. Here's one way around this normal formatting convention.

Discover More

Unselecting a Chart Item

When formatting a chart, you select elements and then change the properties of those elements until everything looks just the ...

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

Maintaining Fields in a Merged Document

When merging documents, you may want to include some fields in the merged documents. For some fields this is impossible, as ...

Discover More

Calculating Dates with Fields

Can you calculate dates using fields? Yes, but you probably don't want to except as a learning experience. An easier way is ...

Discover More

Updating Calculated Fields in a Form

When creating a Word form, you use special form fields to collect information from users. You can even perform calculations ...

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 8 - 2?

2017-09-08 10:49:22

Beth McLaughlin

I have a transcription company. We create a new template for every client. Most of our documents are interviews. I'd like to add a Date of Interview property that will populate the first page under the title, the subsequent page header, and document metadata. How do I do that?


2015-11-26 02:26:21

varma

hi,

i can create HTML page by saving word document as webpage but i want to insert values in that webpage from browser, is that possible and if yes let me know how?


2015-08-18 06:48:25

Balakrishna

Hi,
I have created Document property, some cases i my value will going beyond 255 character. but the value text box is tacking only 255 charecter and after that it is trunkating extra charecter . hence my result is going wrong.can anyone solve my issue


2015-08-18 06:45:42

Balakrishna

Hi,
I have created Document property, but some cases i my value will going beyond 255 character. can anyone solve my issue


2015-04-17 11:03:06

Doe

I'm trying but I don't understand what the commenter above means by type a value. What does a value mean and how am I supposed to know what that value is?


2014-03-11 05:00:38

Saw

Presenting Noise Level in Word Field conditionally:
The maximum noise levels measured from the site boundary were 90 dB (A) (5mins period) and 70 db (A) (12Hrs period).
So, Noise levels recorded at the mentioned location were above the permissible limit for 5-mins period and within the permissible limit for 12-hr period.
Please help me with the above word field coding.
I want to change automatically the words, “above or within” according to the value of the results, i.e. for the noise levels measured in 5-mins period, 90 and above is considered “above the permissible limit” and below 90 is considered as “within permissible limit”.
So as the same for 12-hr period, 75 and above is “above the limit” and below 75 is “within the limit.
To get the above condition, I tried to write the field code as :
{IF {MERGEFIELD Text1} >= 90 “above” ”within”}
But, it never works.
Appreciate your help.
Saw


2013-04-03 10:01:31

terapin

If modifying - click modify button before clicking okay or it may not save the change.


2012-09-07 06:03:30

Nick P

Thanks

So good that you can provide online help when M$ can't!


2012-07-09 19:54:56

David B

Adding info in case someone else is looking for it:

To store a document property - go to file - properties - custom tab - type a name - type a value - click add.


2012-04-09 01:22:46

umut

can you please explain how you create this custom property ?

thanks,



"let's assume you have created a custom property named MyProp."


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.