Show slides 4 through 8 in the presentation : Slide Show « PowerPoint « VBA / Excel / Access / Word






Show slides 4 through 8 in the presentation

 
Sub settings()
    With Presentations("Corporate.ppt").SlideShowSettings
        .RangeType = ppShowSlideRange
        .StartingSlide = 4
        .EndingSlide = 8
        .Run
    End With
End Sub

 








Related examples in the same category

1.ppShowTypeKiosk
2.ppShowTypeSpeaker
3.ppShowTypeWindow
4.Deleting a Custom Show
5.Starting a Slide Show
6.To start running a custom show
7.Moving from Slide to Slide
8.To display the first slide in the presentation, use the First method.
9.To display the last slide, use the Last method:
10.To display the next slide, use the Next method.
11.To display the previous slide, use the Previous method.
12.To display a particular slide in the slide show, use the GotoSlide method of the View object, using the Index argument to specify the slide number.
13.Pausing the Show and Using White and Black Screens
14.Starting and Stopping Custom Shows
15.To exit a custom show, use the EndNamedShow method and then use the Next method to advance the presentation.
16.Exiting the Slide Show