Macro for masters

  • Thread starter Thread starter KennyW
  • Start date Start date
K

KennyW

I have six slide maters in a powerpoint application. I am trying to
write a six small macros that I will then place on a toolbar that
will automatically change the current slide to one of those six
maters. I have tried recording the macro but nothing comes up ANY
ideas?

TIA
 
I have six slide maters in a powerpoint application. I am trying to
write a six small macros that I will then place on a toolbar that
will automatically change the current slide to one of those six
maters. I have tried recording the macro but nothing comes up ANY
ideas?

Dim oSlideRange as SlideRange
Set oSlideRange = ActiveWindow.Selection.SlideRange

' Set all of the selected slides to use the SECOND
' slide master
oSlideRange.Design = ActivePresentation.Designs(2)
 

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