Presentation.BuiltInDocumentProperties property (PowerPoint)

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

Syntax

expression. BuiltInDocumentProperties

expression A variable that represents a Presentation object.

Return value

DocumentProperties

Remarks

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

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

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

See also

Presentation Object

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.