SlideShowSettings.ShowType property (PowerPoint)
Returns or sets the show type for the specified slide show. Read/write.
Syntax
expression. ShowType
expression A variable that represents a SlideShowSettings object.
Return value
PpSlideShowType
Remarks
The value of the ShowType property can be one of these PpSlideShowType constants.
ppShowTypeKiosk |
ppShowTypeSpeaker |
ppShowTypeWindow |
ppShowTypeWindow2 |
Example
This example runs a slide show of the active presentation in a window, starting with slide two and ending with slide four. The new slide show window is placed in the upper-left corner of the screen, and its width and height are both 300 points.
With ActivePresentation.SlideShowSettings
.RangeType = ppShowSlideRange
.StartingSlide = 2
.EndingSlide = 4
.ShowType = ppShowTypeWindow
With .Run
.Left = 0
.Top = 0
.Width = 300
.Height = 300
End With
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.