TimeLine and Shyam!

G

Geoff Cox

Shyam,

I am never sure whether a late response to an earlier thread will get
lost in time!

The code below does use the TimeLine object rather than
AnimationSetting as you recommend - plus it does not delete other
animation on the slide concerned!

It finds an action button which has EndShow and adds dissolve
animation.

Thanks for your help.

Cheers

Geoff


Dim oSl As Slide

For Each oSl In ActivePresentation.Slides

Dim oSh As Shape
For Each oSh In oSl.Shapes
If oSh.Type = 1 Then
If oSh.AutoShapeType = 132 Then
oSl.TimeLine.MainSequence.AddEffect oSh, _
msoAnimEffectDissolve
End If
End If
Next oSh

Next oSl
 

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

Similar Threads

VBA removes other animation?! 6
VBA question 11
Help with VBA 4
code not working - why? 10
finding oHl.Address for an action button? 2
Notes export macro bug 2
VBA - make view active? 18
VBA - (re-) Set a Table Style 2

Top