how to check custom animation programatically

  • Thread starter Thread starter hellokareem
  • Start date Start date
H

hellokareem

how i can check custom animation exist or not in particular
shape(through programattically)
 
something like:

Sub check()
If ActiveWindow.Selection.ShapeRange.AnimationSettings.Animate _
= msoTrue Then MsgBox ("yes it has") Else MsgBox ("no it hasn't")
End Sub

Note this is the bare bones and not that robust!
 
Depends on the version of PowerPoint. The mechanism to check if animation is
present or not is different
- 97/2000
- 2002 and later

Which version are you targeting?
 
actually i want to check all version 97-200 as well as 2002-03..
in 2002-03 how get timeline object from slide?plz help me ASAP
 
Many thanks for fast replay..i enumerate all shpe's
animatinsettings,but which propery of 'AnimationSetting' we want to
check?i mean getAnimate,getEntryeffect etc.. somany properties there
,but couldn't findout any difference ,if shape with and without
animation.
if i am wrong plz correct me..
can u tell me any way to trap before transition event?i want to event
before going next slide,actually nextslide event only getting after
reached nextslide...any help really very useful to me..
 
The Animate property will tell you if the shape is animated or not, you will
need to read the rest of the properties to arrive at the animation
information pertaining to type of animation, speed, timing, order etc.

Please read the programming section of the PowerPoint FAQ
http://www.pptfaq.com for information pertaining to PowerPoint events
handling.
 

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

Back
Top