Skip to content

Latest commit

 

History

History
75 lines (41 loc) · 1.73 KB

PowerPoint.Presentation.BuiltInDocumentProperties.md

File metadata and controls

75 lines (41 loc) · 1.73 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Presentation.BuiltInDocumentProperties property (PowerPoint)
vbapp10.chm583020
vbapp10.chm583020
PowerPoint.Presentation.BuiltInDocumentProperties
d59341c4-70f4-b9be-0db6-3673d588a6bd
06/08/2017
medium

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

[!includeSupport and feedback]