View Single Post
 
Old 12-27-2012, 08:11 AM
tinfanide tinfanide is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default Difference between Slides.addSlide and Slides.Add?

Code:
Sub AddSlides()

With ActivePresentation

''' the pCustomLayout parameter is the same as ppLayoutTitle?
    .Slides.AddSlide 1, .SlideMaster.CustomLayouts(1)

''' The ".Slides.Add" is auto-corrected as ".Slides.AddSlide", why?
    .Slides.Add 1, ppLayoutTitle
End With

End Sub
Please see the two comment lines.
Thanks.
Reply With Quote