Table of contents
Collapse the table of content
Expand the table of content

ActionSetting.ShowAndReturn Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Determines if and under what circumstances Microsoft PowerPoint returns to the initiating slide show. Read/write.


expression. ShowAndReturn

expression A variable that represents an ActionSetting object.

Return Value



The value of the ShowAndReturn property can be one of these MsoTriState constants.

msoFalseDefault. PowerPoint doesn't return to the initiating slide show from the deactivated custom slide show.
msoTruePowerPoint returns to the initiating slide show from a deactivated custom slide show that was activated by using the ActionSetting object of the initiating presentation.


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

See also


ActionSetting Object

© 2018 Microsoft