Skip to content

Files

Latest commit

 

History

History
71 lines (39 loc) · 1.77 KB

PowerPoint.Presentation.CustomDocumentProperties.md

File metadata and controls

71 lines (39 loc) · 1.77 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Presentation.CustomDocumentProperties property (PowerPoint)
vbapp10.chm583021
vbapp10.chm583021
PowerPoint.Presentation.CustomDocumentProperties
3f972f15-f606-0a11-56b6-1994e617def2
06/08/2017
medium

Presentation.CustomDocumentProperties property (PowerPoint)

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

Note

All custom document properties will be lost when user uses the Design Ideas to change the look of a slide in the presentation.

Syntax

expression. CustomDocumentProperties

expression A variable that represents a Presentation object.

Return value

DocumentProperties

Remarks

Use the BuiltInDocumentProperties property to return the collection of built-in document properties.

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

Example

This example adds a static custom property named "Complete" for the active presentation.

Application.ActivePresentation.CustomDocumentProperties _
    .Add Name:="Complete", LinkToContent:=False, _
    Type:=msoPropertyTypeBoolean, Value:=False

This example displays the active presentation if the value of the "Complete" custom property is True.

With Application.ActivePresentation

    If .CustomDocumentProperties("complete") Then .PrintOut

End With

See also

Presentation Object

[!includeSupport and feedback]