SlideShowView.Exit Method (PowerPoint)
Ends the specified slide show.
Syntax
expression .Exit
expression A variable that represents a SlideShowView object.
Example
This example ends the slide show that's running in slide show window one.
SlideShowWindows(1).View.Exit