Presentation.ApplyTemplate2 (PowerPoint)

Applies a design template and theme variant to the presentation.

Syntax : expression.ApplyTemplate2 (FileName, VariantGUID)

Dim strFileName As String: strFileName = 
Dim strVariantGUID As String: strVariantGUID = 
ActivePresentation.ApplyTemplate2 FileName:=strFileName, VariantGUID:=strVariantGUID

Arguments

The following arguments are required:

FileName (String) - Specifies the name of the design template.

VariantGUID - String