How do you reference the PPT animation effect options using VBA?

I know this is an Excel forum, but I have looked everywhere and posted what seems to me like a very straightforward question with a simple answer, on three separate PPT VBA forums, including stack overflow, with no luck. So I’m hoping someone here can help me.

I have a video that plays across multiple slides in PPT. Normally, I would set the start time by going to

Animations tab > Effect Options > Effect Tab

Then make a selection under the “Start Playing” setting. What I need to be able to do is make a change to this setting using VBA code.

I know that I can set the start time for a video using

ActivePresentation.Slides(“my slide”).Shapes(“my shape”).MediaFormat.StartPoint = startPoint

But this doesn’t affect the start point for the “Play” animation effect. So how do I access the correct animation settings using VBA?

I have tried asking this question on StackOverflow as well, but it has received no answers. It seems like there should be a straightforward solution, but I cannot find it in any of the microsoft object documentation. Please help.

By: Brent

Leave a Reply

Your email address will not be published. Required fields are marked *