Run a macro on every slide

  • Thread starter Thread starter David Chang
  • Start date Start date
D

David Chang

Hi,

I have several hundred presentations of 1-9 slides long. I need to run
a macro on every single slide.


currently,
I have a macro that works perfectly for one slide
i have a macro that will run a macro on every single file

i am having trouble writing a macro that will apply a macro on every
slide in the presentation. This way, i can use all three macros in
combinations to apply change to all my presentation slides.

if anyone can write a script that will run a macro on every slide, or
if you have any ideas, please respond

thanks for your time

dc
 
I'm not completely sure what you're asking, but the general way to access
every slide is:

For Each oSld in oPres.Slides
'Do some stuff to oSld and it will be applied to each slide, e.g.:
oSld.Shapes(1).Left = 0 'moves the 1st shape on eache slide
Next oSld

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 
David Chang said:
Hi,

I have several hundred presentations of 1-9 slides long. I need to run
a macro on every single slide.

currently,
I have a macro that works perfectly for one slide
i have a macro that will run a macro on every single file

i am having trouble writing a macro that will apply a macro on every
slide in the presentation. This way, i can use all three macros in
combinations to apply change to all my presentation slides.

if anyone can write a script that will run a macro on every slide, or
if you have any ideas, please respond

Some generic examples:

Do something to -- every shape on a slide, every slide in a presentation, every
presentation in a folder
http://www.pptfaq.com/FAQ00594.htm
 
Back
Top