MetaProperties Object (Office)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a collection of properties describing the metadata stored in a document.

In the following example, a MetaProperties object is passed to a validation function. The function then validates the value of a single property represented by its index and returns the result.

Function ValidateMetaProperty(ByVal metaProps As MetaProperties) As String 
Dim result As String 
result = metaProps(1).Validate 
ValidateMetaProperty = result 
End Function