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 / June 2007

Tip: Looking for answers? Try searching our database.

script/macro to replace one animation with another

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
matthewbentley@mbentley.net - 18 Jun 2007 19:23 GMT
hello, i was hoping that there would be a way to create some sort of
script/macro to replace all "Fly In" animations with "Appear"
animations.  i am using powerpoint 2007 is that makes any difference.
i have been working on this for the past hour or so i am at a bit
stuck.  i have a 70 slide slideshow that was created by someone else
and the "Fly In" effect gets old after about 2 slides.

any help would be appreciated
David M. Marcovitz - 19 Jun 2007 14:52 GMT
Something like this should do it for all the fly in animations as long as
they are not triggered:

Sub MakeAllAppear()
   Dim oSld As Slide
   Dim oShp As Shape
   Dim oEffect As Effect
   
   For Each oSld In ActivePresentation.Slides
       For Each oEffect In oSld.TimeLine.MainSequence
           If oEffect.EffectType = msoAnimEffectFly _
               And oEffect.Exit = msoFalse Then
               oEffect.EffectType = mosanimeffectappear
           End If
       Next oEffect
   Next oSld
End Sub

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/

matthewbentley@mbentley.net wrote in news:1182191028.903198.135170
@u2g2000hsc.googlegroups.com:

> hello, i was hoping that there would be a way to create some sort of
> script/macro to replace all "Fly In" animations with "Appear"
[quoted text clipped - 4 lines]
>
> any help would be appreciated
 
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.