Table of contents
TOC
Collapse the table of content
Expand the table of content

Designs.Load Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns a Design object that represents a design loaded into the master list of the specified presentation.

Syntax

expression. Load( TemplateName, Index )

expression A variable that represents a Designs object.

Parameters

NameRequired/OptionalData TypeDescription
TemplateNameRequiredStringThe path to the design template.
IndexOptionalLongThe index number of the design template in the collection of design templates. The default is -1, which means the design template is added to the end of the list of designs in the presentation.

Return Value

Design

Example

This example add a design template to the beginning of the collection of design templates in the active presentation. This example assumes the "artsy.pot" template is located at the specified path.

Sub LoadDesign()
    ActivePresentation.Designs.Load TemplateName:="C:\Program Files\" &; _
        "Microsoft Office\Templates\Presentation Designs\Balance.pot", Index:=1
End Sub

See also

Concepts

Designs Object

© 2018 Microsoft