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.
 

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