Enumerate all Layouts In A Powerpoint 2007 Presentation

J

James

I would like to enumerte all the masters and all the latouts within
the master for a Powerpoint 2007 presentation. Any code suggestions?

TIA
 
S

Steve Rindsberg

I would like to enumerte all the masters and all the latouts within
the master for a Powerpoint 2007 presentation. Any code suggestions?

TIA

Something like this:

Sub EnumerateDesigns()

Dim oDesign As Design
Dim oLayout As CustomLayout

For Each oDesign In ActivePresentation.Designs
With oDesign
Debug.Print .Name
Debug.Print .SlideMaster.CustomLayouts.Count
For Each oLayout In .SlideMaster.CustomLayouts
Debug.Print oLayout.Name
Next
End With
Next

End Sub
 

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