Skip to content

Latest commit

 

History

History
35 lines (15 loc) · 1.19 KB

3bf6d3e0-bc37-00f3-868e-869f51c62ad3.md

File metadata and controls

35 lines (15 loc) · 1.19 KB

SlideRange.ApplyTemplate Method (PowerPoint)

Applies a design template to the specified slide range.

Syntax

expression. ApplyTemplate( FileName )

expression A variable that represents a SlideRange object.

Parameters

Name Required/Optional Data Type Description
FileName Required String Specifies the name of the design template.

Note If you refer to an uninstalled presentation design template in a string, a run-time error is generated. The template is not installed automatically regardless of your FeatureInstall property setting. To use the ApplyTemplate method for a template that is not currently installed, you first must install the additional design templates. To do so, install the Additional Design Templates for PowerPoint by running the Microsoft Office installation program (click Add/Remove Programs or Programs and Features in Windows Control Panel).

See also

Concepts

SlideRange Object

Other resources

SlideRange Object Members