ActionSetting.ShowAndReturn Property
Determines if and under what circumstances Microsoft Office PowerPoint returns to the initiating slide show. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property ShowAndReturn As MsoTriState
Get
Set
'Usage
Dim instance As ActionSetting
Dim value As MsoTriState
value = instance.ShowAndReturn
instance.ShowAndReturn = value
MsoTriState ShowAndReturn { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoTriState
MsoTriState
Remarks
The value of the ShowAndReturn property can be one of these MsoTriState constants.
Constant |
Description |
---|---|
msoFalse |
Default. PowerPoint doesn't return to the initiating slide show from the deactivated custom slide show. |
msoTrue |
PowerPoint returns to the initiating slide show from a deactivated custom slide show that was activated by using the ActionSetting object of the initiating presentation. |
Examples
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