Use VBA to launch slide show from within another show

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I can't find the correct command for this in VBA

I'm trying to start a presentation from within another presentation and then
be returned to the next slide in the original presentation. I can open
another ppt file, but can't figure out how to make it show and then return to
the original presentation. Can anyone put me on to the right track?

Example:

Presentation1 advances to slide 5.
Clicking an actionObject in slide 5 opens Presentation2
Presentation2 plays out to its end and returns the viewer to Slide 6 of
Presentation1

Thanks in advance!
DMC
 
I think that most of what you want to do is dependent on the other show,
not the VBA call from this show. The other show needs to be set to run
through and exit. Upon exiting the other show, you should automatically
be back at the original show. If that is the case, your simple hyperlink
(with or without VBA) should work just fine.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
You can do it with a regular hyperlink (not VBA), but if you need to use
VBA, then try:

Sub LinkSomewhere()
ActivePresentation.FollowHyperlink "OtherFile.ppt"
End Sub

where OtherFile.ppt is the name of the other file. Include the full path
if the other file is not in the same folder as the one your linking from.

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
Perfect. Thanks, David!

David M. Marcovitz said:
You can do it with a regular hyperlink (not VBA), but if you need to use
VBA, then try:

Sub LinkSomewhere()
ActivePresentation.FollowHyperlink "OtherFile.ppt"
End Sub

where OtherFile.ppt is the name of the other file. Include the full path
if the other file is not in the same folder as the one your linking from.

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
Back
Top