top of page

Automatically change animation on all slides


Tonight's tip concerns visual basic code I crafted on the basis of the macro posted here by Chris Newman which is designed to remove all animation on all slides of a PowerPoint presentation. The vba code posted below will change all of the animation set for all shapes on all slides to the simple 'Appear' effect. Simply enter Visual Basic by pressing ALT + F11, and then enter the code in a new module.

On the line beginning, "sld.TimeLine.MainSequence.Item(x).EffectType =", you can enter whatever animation effect you choose. When you begin to enter text at the end of this line, Visual Basic will display the available animation effects.

Sub ChangeAllAnimations() 'PURPOSE: Remove All PowerPoint Animations From Slides 'SOURCE: www.TheSpreadsheetGuru.com/the-code-vault Dim sld As Slide Dim x As Long Dim Counter As Long 'Loop Through Each Slide in ActivePresentation For Each sld In ActivePresentation.Slides 'Loop through each animation on slide For x = sld.TimeLine.MainSequence.count To 1 Step -1 'Change Each Animation sld.TimeLine.MainSequence.Item(x).EffectType = msoAnimEffectAppear 'Maintain Change Stat Counter = Counter + 1 Next x Next sld 'Completion Notification MsgBox Counter & " Animation(s) were changed in your PowerPoint presentation!" End Sub


Sean O'Shea has more than 20 years of experience in the litigation support field with major law firms in New York and San Francisco.   He is an ACEDS Certified eDiscovery Specialist and a Relativity Certified Administrator.

​

The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer.

​

If you have a question or comment about this blog, please make a submission using the form to the right. 

Your details were sent successfully!

© 2015 by Sean O'Shea . Proudly created with Wix.com

bottom of page