View.Slide property (PowerPoint)
Returns or sets a Slide object that represents the slide that's currently displayed in the specified document window view. Read/write.
Syntax
expression. Slide
expression A variable that represents a View object.
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
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
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for