BuiltInDocumentProperties Property

Microsoft PowerPoint Visual Basic

Returns a DocumentProperties collection that represents all the built-in document properties for the specified presentation. Read-only.

For information about returning a single member of a collection, see Returning an Object from a Collection.

Remarks

Use the CustomDocumentProperties property to return the collection of custom document properties.

Example

This example displays the names of all the built-in document properties for the active presentation.

For Each p In Application.ActivePresentation _
        .BuiltInDocumentProperties
    bidpList = bidpList & p.Name & Chr$(13)
Next
MsgBox bidpList
		

This example sets the "Category" built-in property for the active presentation if the author of the presentation is Jake Jarmel.

With Application.ActivePresentation.BuiltInDocumentProperties
    If .Item("author").Value = "Jake Jarmel" Then
        .Item("category").Value = "Creative Writing"
    End If
End With