bottom
Great WordTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > WordTips Home > Fields > Inserting Custom Properties with Fields

Inserting Custom Properties with Fields

Summary: Using File | Properties you can specify different information to be stored with your document. If you create your own custom properties, you can use the DocProperty field to place the contents of those custom properties in your document. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)

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. (Click here to see a related figure.)
  3. In the list of Categories, choose Document Information.
  4. In the list of Field Names, choose DocProperty.
  5. If you are using Word 97 or Word 2000, click the Options button. Word displays the Field Options dialog box. (Click here to see a related figure.)
  6. In the Property list, choose the custom property you created (MyProp).
  7. If you are using Word 97 or Word 2000, click on Add to Field.
  8. Click on OK to close the Field Options dialog box.
  9. Click on OK. Word inserts the value of MyProp in your document.

Tip #1498 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003


Create and Merge! Discover how to use Word's mail merge tool to create your own custom documents. WordTips: Mail Merge Magic includes all the information you need to make your merges more productive.

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Vital News Home

WordTips FAQ
WordTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)