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
 
Back
Top