Designs Collection

Microsoft PowerPoint Visual Basic

Designs Collection

         
Presentation Designs
Design

Represents a collection of slide design templates.

Using the Designs collection

Use the Designs property of the Presentation object to reference a design template.

To add or clone an individual design template, use the Designs collection's Add or Clone methods, respectively. To refer to an individual design template, use the Item method.

To load a design template, use the Load method.

The following example adds a new design template to the Designs collection and confirms it was added correctly.

Sub AddDesignMaster()
    With ActivePresentation.Designs
        .Add designName:="MyDesignName"
        MsgBox .Item("MyDesignName").Name
    End With
End Sub