Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要帮助。如果我可以向我的幻灯片添加加载事件(使用VBA),请向我解释。示例:当我加载幻灯片 3 时,要执行一个宏。
那可能吗?如果是,该怎么做?谢谢。
您希望这发生在幻灯片视图还是普通编辑视图中?
如果在幻灯片视图中,最简单的方法可能是添加您自己的触发宏的导航按钮,例如:
Sub NextSlide() ' go to the next slide ActiveWindow.View.GotoSlide (SlideShowWindows(1).View.GotoSlide(SlideShowWindows(1).View.Slide.SlideIndex)) ' and insert whatever code you like here: End Sub