Activating New Presentation dialog from vba?

G

Guest

Hi
I am trying to create a vba script activating the 'New
Presentation' dialog containing templates. The dialog is
activated from the Task Pane called New Presentation and
from a link called 'On my computer...'
Is it possible to do that? How?
I am working in Office 2003.

Thanks in advance
 
B

Brian Reilly, MS MVP

See if this does what you want.

Presentations.Add WithWindow:=msoTrue

ActiveWindow.View.GotoSlide_
Index:=ActivePresentation.Slides.Add(Index:=1,_
Layout:=ppLayoutTitle).SlideIndex

Application.CommandBars("Format")_
..Controls("Slide Design...").Execute

Sorry about the line breaks. It's three separate lines of code.

Brian Reilly, PowerPoint MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top