Quote:
Originally Posted by JohnWilson
Slides.Add is legacy code from 2003. In 2010 you should use Slides.AddSlide
Sub MyLayout()
Dim ocust As CustomLayout
Set ocust = ActivePresentation.SlideMaster.CustomLayouts(2)' change number
ActivePresentation.Slides.AddSlide 1, ocust
End Sub
|
I got it. It should be somewhere in SlideMaster that is the answer to my doubt.
Many thanks.