SlideShowView.LastSlideViewed property (PowerPoint)

Returns a Slide object that represents the slide viewed immediately before the current slide in the specified slide show view.

Syntax

expression. LastSlideViewed

expression A variable that represents a SlideShowView object.

Return value

Slide

Example

This example takes you to the slide viewed immediately before the current slide in slide show window one.

With SlideShowWindows(1).View

    .GotoSlide (.LastSlideViewed.SlideIndex)

End With

See also

SlideShowView Object

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.