blescohier
06-07-2010, 12:34 PM
Hi,
We have a slideshow that contains a custom show. The custom show is set to "Show and Return" so that when it is over the entire presentation does not exit. We want to be able to exit the custom show by clicking a link, and have the presentation go to a linked slide, not necessarily the slide from which the custom show was invoked.
So far we have a macro that detects if it has been called from a custom show, and if so, sends an "esc" to end the custom show. Else it navigates to the proper slide:
Sub exitCustomShow()
With SlideShowWindows(1).View
If .IsNamedShow Then
SendKeys("{ESC}")
Else
navToSlide '(a macro defined elsewhere, it works)
End If
End With
I can't figure out how to also run navToSlide following the call to SendKeys - it seems that sending the escape character terminates the macro..?
How can we both exit the custom show AND navigate to a different slide?
Thanks!
-Bill
We have a slideshow that contains a custom show. The custom show is set to "Show and Return" so that when it is over the entire presentation does not exit. We want to be able to exit the custom show by clicking a link, and have the presentation go to a linked slide, not necessarily the slide from which the custom show was invoked.
So far we have a macro that detects if it has been called from a custom show, and if so, sends an "esc" to end the custom show. Else it navigates to the proper slide:
Sub exitCustomShow()
With SlideShowWindows(1).View
If .IsNamedShow Then
SendKeys("{ESC}")
Else
navToSlide '(a macro defined elsewhere, it works)
End If
End With
I can't figure out how to also run navToSlide following the call to SendKeys - it seems that sending the escape character terminates the macro..?
How can we both exit the custom show AND navigate to a different slide?
Thanks!
-Bill