Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / September 2006

Tip: Looking for answers? Try searching our database.

Run a macro on every slide

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Chang - 04 Sep 2006 18:45 GMT
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
David M. Marcovitz - 04 Sep 2006 19:04 GMT
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

Signature

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" <ldchang@gmail.com> wrote in news:1157391913.982082.193120
@p79g2000cwp.googlegroups.com:

> Hi,
>
[quoted text clipped - 15 lines]
>
> dc
Steve Rindsberg - 04 Sep 2006 19:42 GMT
> Hi,
>
[quoted text clipped - 11 lines]
> 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

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.