Anurag Pattanayak
Anurag Pattanayak

Reputation: 107

Copy PowerPoint Master Design Using VBA

I am I am trying to import PowerPoint slide design from one ppt to another. While I am able to do that successfully by using Activepresentation.applytemplate, but the problem is when I import the template the design gets applied to the entire presentation.

What i want to do, just import or copy the design from source to destination but not apply. Please advise. Thank you.

Please find the code below

Sub ImportTemplate()

ActivePresentation.ApplyTemplate "Source Template Path"

End Sub

This imports the template but at the same time applies to the slides also. But I just want to import, not apply.

Upvotes: 0

Views: 1485

Answers (1)

Anurag Pattanayak
Anurag Pattanayak

Reputation: 107

Yep, found the solution.

In place of ActivePresentation.ApplyTemplate I used ActivePresentation.Designs.load this simply loaded the master design to my ppt but didn't applied to any of the slides.

Upvotes: 1

Related Questions