如何在 Powerpoint 中获取录制声音的长度

How to get the length of a recorded sound in Powerpoint

我尝试自动执行 PowerPoint 演示文稿。它应该在录制和嵌入声音的持续时间后自动更改幻灯片。我用 ActivePresentation.Slides(i).Shapes(1).AnimationSettings.SoundEffect 尝试过,但没有获得结果的选项。

好的,我明白了。我只需要这样做: ActivePresentation.Slides(1).Shapes("test").MediaFormat.Length