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)

9

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

Saving Everything

Need to force users to save their work? It may be as simple as implementing a couple of macros that get a bit more aggressive ...

Discover More

Subtotals Option Grayed Out

The Subtotals option on the Data menu is normally available for adding or removing subtotals to data tables. If the option is ...

Discover More

Finding the Dates for Minimums and Maximums

If you use Excel to maintain a collection of data, you may need to find information in one column based on information in an ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

MORE WORDTIPS (MENU)

Inserting a Page Number Field

The PAGE field is used to indicate the current page number on which the field occurs. If you want to add this field to your ...

Discover More

Using Mandatory Form Fields

When using form fields to gather information from users of your documents, you may want to make sure that some of the fields ...

Discover More

Auto-incrementing Form Fields

Templates are a great way to create new documents because they act as intricate patterns to what those new documents should ...

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 three minus 1?

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.

Links and Sharing