G
Geoff Cox
Hello,
code below work and adds Entrance/dissolve animation to all the type
129 action buttons.
Just wondered what happens if the button already has that animation?
Apparently nothing?
Would it be better to check first and only if not present then add it?
Not sure how to do that?
Thanks
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 = 129 Then
With oSh.AnimationSettings
.Animate = msoTrue
.EntryEffect = ppEffectDissolve
.TextLevelEffect = ppAnimateByAllLevels
.AnimateBackground = msoTrue
End With
End If
End If
Next oSh
Next oSl
code below work and adds Entrance/dissolve animation to all the type
129 action buttons.
Just wondered what happens if the button already has that animation?
Apparently nothing?
Would it be better to check first and only if not present then add it?
Not sure how to do that?
Thanks
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 = 129 Then
With oSh.AnimationSettings
.Animate = msoTrue
.EntryEffect = ppEffectDissolve
.TextLevelEffect = ppAnimateByAllLevels
.AnimateBackground = msoTrue
End With
End If
End If
Next oSh
Next oSl