Returns a DocumentProperties collection that represents all the built-in document properties for the specified document. Read-only.
Note If Microsoft Word doesn't define a value for one of the built-in document properties, reading the Value property for that document property generates an error.
For information about returning a single member of a collection, see Returning an Object from a Collection.
Remarks
To return a single DocumentProperty object that represents a specific built-in document property, use BuiltinDocumentProperties(index), where index is one of the following WdBuiltInProperty constants.
wdPropertyAppName
wdPropertyAuthor wdPropertyBytes wdPropertyCategory wdPropertyCharacters wdPropertyCharsWSpaces wdPropertyComments wdPropertyCompany wdPropertyFormat wdPropertyHiddenSlides wdPropertyHyperlinkBase wdPropertyKeywords wdPropertyLastAuthor wdPropertyLines wdPropertyManager |
wdPropertyMMClips
wdPropertyNotes wdPropertyPages wdPropertyParas wdPropertyRevision wdPropertySecurity wdPropertySlides wdPropertySubject wdPropertyTemplate wdPropertyTimeCreated wdPropertyTimeLastPrinted wdPropertyTimeLastSaved wdPropertyTitle wdPropertyVBATotalEdit wdPropertyWords |
Use the CustomDocumentProperties property to return the collection of custom document properties.