Partager via


Designs Object (PowerPoint)

Represents a collection of slide design templates.

Remarks

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.

Example

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

See Also

Concepts

Designs Object Members

PowerPoint Object Model Reference