Share via

How do you reference the animation effect options using VBA?

Anonymous
2019-06-24T20:52:59+00:00

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.

Microsoft 365 and Office | PowerPoint | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2019-06-25T15:28:31+00:00

    Thank you for the reply. It's nice to know at least that I haven't been missing something obvious this whole time, but I am very much dissatisfied with the programmability of PowerPoint relative to other Office software.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2019-06-25T07:52:39+00:00

    As far as I know you cannot set the Start Playing From setting in the object model

    As you say you can set the startPoint (not the same thing) but be aware it is measured in thousandths of a second so you need big numbers!

    Was this answer helpful?

    0 comments No comments