Word.Tips.Net WordTips (Menu Interface)

Inserting Custom Properties with Fields

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.

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.

Related Tips:

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!


Leave your own comment:

  Notify me about new comments ONLY FOR THIS TIP
Notify me about new comments ANYWHERE ON THIS SITE
Hide my email address
*What is 5+3 (To prevent automated submissions and spam.)
           Commenting Terms

Comments for this tip:

varma    26 Nov 2015, 02:26

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?
Balakrishna    18 Aug 2015, 06:48
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
Balakrishna    18 Aug 2015, 06:45
I have created Document property, but some cases i my value will going beyond 255 character. can anyone solve my issue
Doe    17 Apr 2015, 11:03
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?
Saw    11 Mar 2014, 05:00
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.
terapin    03 Apr 2013, 10:01
If modifying - click modify button before clicking okay or it may not save the change.
Nick P    07 Sep 2012, 06:03

So good that you can provide online help when M$ can't!
David B    09 Jul 2012, 19:54
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.
umut    09 Apr 2012, 01:22
can you please explain how you create this custom property ?


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

Our Company

Sharon Parq Associates, Inc.

About Tips.Net

Contact Us


Advertise with Us

Our Privacy Policy

Our Sites


Beauty and Style




DriveTips (Google Drive)

ExcelTips (Excel 97–2003)

ExcelTips (Excel 2007–2016)



Home Improvement

Money and Finances


Pests and Bugs

Pets and Animals

WindowsTips (Microsoft Windows)

WordTips (Word 97–2003)

WordTips (Word 2007–2016)

Our Products

Helpful E-books

Newsletter Archives


Excel Products

Word Products

Our Authors

Author Index

Write for Tips.Net

Copyright © 2017 Sharon Parq Associates, Inc.