用于跳过幻灯片上的动画的 PowerPoint VBA 宏 [英] PowerPoint VBA macro to skip animation on a slide

查看:44
本文介绍了用于跳过幻灯片上的动画的 PowerPoint VBA 宏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些 PowerPoint 幻灯片,其中包含各种自定义动画(例如,出现一段文本、暂停、出现下一段文本、用户单击以显示图像).但是,是否可以添加一个宏,以便用户可以单击按钮并绕过所有动画直接跳转到 相同 幻灯片的结束状态?我知道如何将宏链接到按钮,这只是 VBA 本身的问题.

I've got some PowerPoint slides containing various pieces of custom animation (e.g. piece of text appears, pause, next piece of text appears, user clicks to show image). However, is it possible to add a macro so that the user could click a button and bypass all the animations to jump directly to the end state of the same slide? I know how to link a macro to a button, it's just the VBA itself that's the problem.

谢谢

推荐答案

你试过了吗?

Sub JumpToEndOfAnimations()

Call SlideShowWindows(1).View.GotoClick(msoClickStateAfterAllAnimations)

End Sub

这篇关于用于跳过幻灯片上的动画的 PowerPoint VBA 宏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆