PowerPoint Macros w/ Multiple Masters

  • Thread starter Thread starter Jan
  • Start date Start date
J

Jan

When running a recorded macro that views the slide
masters, and selects one of three title masters, then
deletes an object, the debugger stops the macro with the
message saying that the title master does not exist. The
line of code that is highlighted is:
ActiveWindow.ViewType = ppViewTitleMaster

Is it possible to reference a title master in a macro when
more than one exists in the presentation?
 
When running a recorded macro that views the slide
masters, and selects one of three title masters, then
deletes an object, the debugger stops the macro with the
message saying that the title master does not exist. The
line of code that is highlighted is:
ActiveWindow.ViewType = ppViewTitleMaster

Is it possible to reference a title master in a macro when
more than one exists in the presentation?

What's the goal? Do you need to delete a shape on a specific title master?
This would be in PPT 2002 or greater, right?

' This will delete the shape named "DeleteMe" on the title master
' of the third design
With ActivePresentation
.Designs(3).TitleMaster.Shapes("DeleteMe").Delete
End with
 

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

Back
Top