Powerpoint在打开超链接后可不可以自己结束放映
Powerpoint在打开超链接后可不可以自己结束放映
我想在Powerpoint中放一个按钮达到这样的效果, 链接到另一个powerpoint文档退出放映, 也就是说同时只有一个powerpoint文档是打开的, 请问应该怎么做才行.....
[解决办法]
用“动作设置”中的“运行宏”来实现。看这样的实现效果:
1、在同一文件夹下创建两个演示文稿 pp01.ppt、pp02.ppt。
2、在 pp01.ppt 中插入一个VBA模块,将以下代码粘贴进去:
Sub toPP02Slide2()
Dim thisPP As Presentation, destPP As Presentation
Set thisPP = ActivePresentation
Set destPP = Presentations.Open(FileName:="pp02.ppt")
thisPP.Close
Set thisPP = Nothing
destPP.SlideShowSettings.Run
destPP.SlideShowWindow.View.GotoSlide 2
Set destPP = Nothing
End Sub
Sub toPP01Slide3()
Dim thisPP As Presentation, destPP As Presentation
Set thisPP = ActivePresentation
Set destPP = Presentations.Open(FileName:="pp01.ppt")
thisPP.Close
Set thisPP = Nothing
destPP.SlideShowSettings.Run
destPP.SlideShowWindow.View.GotoSlide 3
Set destPP = Nothing
End Sub