Removing animation from a shape

G

gil.horen

Hey,
I am trying to clone a shape animation to another shape, so i have two
biq difficulties:
1. Do i have to remove the target shape animation? ( i did it with:
B.AnimationSettings.Animate = msoFalse - where B is my shape ).

2. Take a look at this code:
*****************************************************************************************
With ActivePresentation.Slides(1).TimeLine
NumberOfAnimations = .MainSequence.Count
For Each Seq In .MainSequence
CompareString = StrComp(.MainSequence(index).Shape.Name,
source, vbTextCompare)
If (CompareString = 0) Then
.MainSequence.AddEffect _
B, .MainSequence(index).EffectType
End If
index = index + 1
Next
End With
*******************************************************************************************
in some cases it changes the source shape animation - any solution?

Thanx,
Gil H
 
S

Shyam Pillai

Your question isn't clear enough. Are you trying to remove animation or
clone animation? Try not to mix backward compatibility code with the newer
version code for the timeline, so don't use AnimationSettings.Animate
property when you are using PPT 2002 and later.


--
Regards,
Shyam Pillai

Animation Carbon
http://www.animationcarbon.com
 

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

Top