Share via


ShowandReturn Property

MsoTriState

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse Default. PowerPoint doesn't return to the initiating slide show from the deactivated custom slide show.
msoTriStateMixed
msoTriStateToggle
msoTrue PowerPoint returns to the initiating slide show from a deactivated custom slide show that was activated through either the Hyperlink or an ActionSetting object of the initiating presentation.

Example

This example sets the mouse click action for shape five on slide one in the active presentation to show the custom slide show named "techtalk." When the custom slide show is over, it automatically returns to the initiating presentation, in the state before the mouse click occurred.

With ActivePresentation.Slides(1).Shapes(5) _
        .ActionSettings(ppMouseClick)
    .Action = ppActionNamedSlideShow
    .SlideShowName = "techtalk"
    .ShowandReturn = msoTrue
End With

Applies to | ActionSetting Object | Hyperlink Object