Home Products Tips VBA OfficeOne on Windows Links

Start a slide show from a specific slide

The following VBA code demonstrates how start a slide show from a specific slide:

Sub LaunchSlideShowFromSlide(ByVal Pres As Presentation, _
    ByVal SlideIndex As Long)

    On Error Resume Next

    With Pres.SlideShowSettings.Run
        .View.GotoSlide SlideIndex
    End With
End Sub

Sub Test()
    LaunchSlideShowFromSlide ActivePresentation, 3
End Sub

Home | Products | Tips | VBA | Windows | Links

Contact OfficeOne on email at officeone@officeonemac.com. Copyright © 2001-2013 OfficeOne. All rights reserved.

page counter