Launch PowerPoint Presenter View

The programmatic method of launching a PowerPoint slide show is:

Sub StartSlideShow(ByVal Pres As Presentation)
    Pres.SlideShowSettings.Run
End Sub

This indeed starts the slide show but does not launch the PowerPoint Presenter View with it.

To launch PowerPoint Presenter View, you would have to launch it through the command button as follows:

Sub LaunchPresenterView(ByVal Pres As Presentation)
    Pres.Windows(1).Activate
    CommandBars.FindControl(Id:=740).Execute
End Sub

Control Id 740 is the Slide Show command button from the View menu.
Contact OfficeOne on email at officeone@officeoneonline.com. Copyright © 2001-2023 OfficeOne. All rights reserved.