VBA PowerPoint幻灯片过渡到忽略动画时间
有一个带有很多图像的大型幻灯片显示,我想缓慢动画。 但是想要一个一致的过渡时间。 不幸的是,无法找到一种方法来使PowerPoint过渡时间优先于幻灯片动画时间。我正在使用下面的当前代码尝试设置过渡时间。
Sub slideAdvance()
With ActivePresentation.Slides.Range.SlideShowTransition
'make sure the next slide will be shown automatically.
.AdvanceOnTime = msoTrue
'Set "advance to next slide" time (in seconds).
.AdvanceTime = 5
End With
ActivePresentation.SlideShowSettings.AdvanceMode = ppSlideShowUseSlideTimings
End Sub
Have a large slide show with lots of images, which I would like to have animating slowly.
But want a consistent transition time.
Unfortunately cannot find a way to get Powerpoint Transition time to be prioritized over slide animation time. Current code I'm using below to try to set transition times.
Sub slideAdvance()
With ActivePresentation.Slides.Range.SlideShowTransition
'make sure the next slide will be shown automatically.
.AdvanceOnTime = msoTrue
'Set "advance to next slide" time (in seconds).
.AdvanceTime = 5
End With
ActivePresentation.SlideShowSettings.AdvanceMode = ppSlideShowUseSlideTimings
End Sub
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论