Slide.ApplyTemplate2 (PowerPoint)

Applies a design template and theme variant to the slide.

ApplyTemplate2 (FileName, VariantGUID)


Dim strFileName As String: strFileName = 
Dim strVariantGUID As String: strVariantGUID = 
ActivePresentation.Slides.Range(1).ApplyTemplate2 FileName:=strFileName, VariantGUID:=strVariantGUID

Arguments

The following arguments are required:

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

VariantGUID - String