E
Edward
In 2003 we could use the following code to add a title slide
ActivePresentation.Slides.Add 1, ppLayoutTitle
but this code desn't work in 2007
PPs hel suggest a two line long example
Set pptLayout=Activepresentation.slides(1).design.slidemaster.customlayouts(1)
ActivePresentation.Slides.Add 1, pptLayout
my question is : Is there any simplier way to do this instead of useing two
lines all the time just for adding a new slide . In other words in Add
method for slides as the second argument ( " layout type" ) should alywas
refer to an object or we can just use a specific layout name like in 2003.
ActivePresentation.Slides.Add 1, ppLayoutTitle
but this code desn't work in 2007
PPs hel suggest a two line long example
Set pptLayout=Activepresentation.slides(1).design.slidemaster.customlayouts(1)
ActivePresentation.Slides.Add 1, pptLayout
my question is : Is there any simplier way to do this instead of useing two
lines all the time just for adding a new slide . In other words in Add
method for slides as the second argument ( " layout type" ) should alywas
refer to an object or we can just use a specific layout name like in 2003.