ApplyTemplate Method

Applies To

Presentation object.

Description

Applies a design template to the specified presentation.

Syntax

expression.ApplyTemplate(FileName)

expression Required. An expression that returns a Presentation object.

FileName Required String. Specifies the name of the design template.

See Also

TemplateName property.

Example

This example applies the "Sparkle" design template to the active presentation.

Application.ActivePresentation.ApplyTemplate _
    "c:\microsoft office\templates\presentation designs\sparkle.pot"