Home Products Customers Tips VBA OfficeOne on Mac Contact us

CustomDocumentProperties - Store user-modifiable information associative with a presentation

PowerPoint defines CustomDocumentProperties collection for each presentation. These properties are visible to the user through the presentation properties dialog box (File | Properties... menu item). The following code snippets show how to manage custom document properties:

Add a string property:

Sub AddCustomDocProperty()
    With ActivePresentation
        .CustomDocumentProperties.Add Name:="Property_Name", _
            Type:=msoPropertyTypeString, _
            LinkToContent:=False, _
    End With
End Sub

Delete a property:

Sub DeleteCustomDocProperty()
    With ActivePresentation
    End With
End Sub

Home | Products | Tips | VBA | FAQ | Utilities | Disclaimer | Privacy Policy | Mac | Links | Contact us

Contact OfficeOne on email at officeone@officeoneonline.com. Copyright © 2001-2018 OfficeOne. All rights reserved.

page counter