#1
|
|||
|
|||
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 Thanks. |
#2
|
|||
|
|||
From the articles
http://msdn.microsoft.com/en-us/libr...ice.14%29.aspx and http://msdn.microsoft.com/en-us/library/ff746586.aspx It seems to me that addSlide allows users to use a custom layout but add allows users to use PpSlideLayout. But why in PowerPoint 2010 does it correct me from add to addSlide but actually it does support "add"? Does that mean PowerPoint 2010 encourages users to use addSlide to add a new slide to the presentation and add is an old use? |
#3
|
|||
|
|||
addslide is specific to 2007 onwards versions that support custom layouts. In these versions it is the default. All versions still support the legacy 2003 add method.
|
#4
|
|||
|
|||
Thanks. I see what it means now.
|
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to advance between slides | HarrietLouis | PowerPoint | 9 | 04-24-2012 03:55 AM |
How to automate all slides | Pemberton | PowerPoint | 1 | 11-09-2011 04:39 PM |
Yes/No slides to take you to different sets of slides | psrs0810 | PowerPoint | 2 | 08-17-2011 04:46 PM |
Inserting slides between existing slides in 2003 | watsonstudios | PowerPoint | 1 | 05-20-2011 08:15 PM |
How many slides in a 30 min presentation | barbara3010 | PowerPoint | 2 | 02-12-2009 10:12 AM |