Setting .EntryEffect speed with VBA

C

cjakeman

Hi,

I've written a little VBA code to copy and paste animation and other
settings from one image to another.

It works fine but I can't find a property for the speed of the
animation. Any ideas?

Thanks, Chris
 
S

Shyam Pillai

Chris,
Are you using an older version of PowerPoint, the object model is dependant
on whether you are using PPT 2002 and later or one of the earlier versions.
 
S

Shyam Pillai

Dim oEffect As Effect
Set oEffect = ActivePresentation.Slides(1).TimeLine.MainSequence(1)
oEffect.Timing.Duration = 5 'Change animation time to 5 seconds.
 
Top