DocumentProperty object (Office)

Represents a custom or built-in document property of a container document. The DocumentProperty object is a member of the DocumentProperties collection.

Remarks

Use the Microsoft Word Document.BuiltinDocumentProperties(index) property, where index is the name or index number of the built-in document property, to return a single DocumentProperty object that represents a specific built-in document property.

Use the Word Document.CustomDocumentProperties(index) property, where index is the name or index number of the custom document property, to return a DocumentProperty object that represents a specific custom document property.

Note

Properties of type msoPropertyTypeString (MsoDocProperties) are limited in length to 255 characters.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.