Description
Represents a single document property. The DocumentProperty object is a member of the DocumentProperties collection.
To use this object, you should establish a reference to the Microsoft Office 95 Object Library by using the References command (Tools menu).
Accessors
Each workbook has a collection of built-in document properties and a collection of custom document properties. Each collection is represented by a DocumentProperties object, and each collection contains individual DocumentProperty objects.
Use the BuiltinDocumentProperties property to return the collection of built-in document properties, and use the CustomDocumentProperties property to return the collection of custom document properties. Use the Item method to return a single member of the collection.
The following example sets the value of the built-in document property named "Title."
ActiveWorkbook.BuiltinDocumentProperties.Item("Title") _ .Value = "Year-End Sales Results"
Properties
LinkSource Property (DocumentProperty Object), LinkToContent Property (DocumentProperty Object), Name Property (DocumentProperty Object), Parent Property (DocumentProperty Object), Type Property (DocumentProperty Object), Value Property (DocumentProperty Object).
Methods
Delete Method (DocumentProperty Object).