This documentation is archived and is not being maintained.

Designs.Load Method

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


expression.Load(TemplateName, Index)

expression   A variable that represents a Designs object.


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


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.

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