Slide Property

Microsoft PowerPoint Visual Basic

ShowSlide property as it applies to the View object.

Returns or sets a Slide object that represents the slide that's currently displayed in the specified document window view. Read/write.

expression.Slide

expression    Required. An expression that returns one of the above objects.

ShowSlide property as it applies to the SlideShowView object.

Returns a Slide object that represents the slide that's currently displayed in the specified slide show window view. Read-only.

expression.Slide

expression    Required. An expression that returns one of the above objects.

Remarks

If the currently displayed slide is from an embedded presentation, you can use the Parent property of the Slide object returned by the Slide property to return the embedded presentation that contains the slide. (The Presentation property of the SlideShowWindow object or DocumentWindow object returns the presentation from which the window was created, not the embedded presentation.)

Example

ShowAs it applies to the View object.

This example places on the Clipboard a copy of the slide that's currently displayed in slide show window one.

SlideShowWindows(1).View.Slide.Copy
				

This example displays the name of the presentation currently running in slide show window one.

MsgBox SlideShowWindows(1).View.Slide.Parent.Name