Working with a Range of Slides : Slide Edit « PowerPoint « VBA / Excel / Access / Word






Working with a Range of Slides

 
Sub range()
    Dim mySlideRange As SlideRange
    Set mySlideRange = Presentations("HR.ppt").Slides.Range(Array(1, 2, 3, 4, 5))
End Sub

 








Related examples in the same category

1.Inserting Slides from an Existing Presentation
2.Finding a Slide by Its ID Number
3.Changing the Layout of an Existing Slide
4.Deleting an Existing Slide
5.Copying and Pasting a Slide
6.Duplicating a Slide
7.Moving a Slide
8.Accessing a Slide by Name
9.assigns to the SlideRange object variable mySlideRange the slides named Intro and Outro in the active presentation: