Rediger

Del 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

PowerPoint Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.