I'm not quite sure what you are trying to do, but why can't you record a
macro with the a presentation open? I get something like this doing wheat
I think you might have in mind (I'm using PPT 2003 so it might not be
exactly the same):
Sub Macro1()
Presentations.Add WithWindow:=msoTrue
ActiveWindow.View.GotoSlide Index:=ActivePresentation.Slides.Add
(Index:=1, Layout:=ppLayoutTitle).SlideIndex
ActiveWindow.Selection.SlideRange.Layout = ppLayoutBlank
End Sub
Watch out for linebreaks introduced by the news system.
--David
--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
Co <(E-Mail Removed)> wrote in news:1180434931.757054.317650
@p47g2000hsd.googlegroups.com:
> Hi All,
>
> I need to make a macro in powerpoint that opens a new presentation,
> chooses a blanco slide and then clicks
> cancel. However when there is no presentation opened I can't use the
> macro recorder.
>
> Marco
>
>