assigns to the SlideRange object variable mySlideRange the slides named Intro and Outro in the active presentation: : Slide Edit « PowerPoint « VBA / Excel / Access / Word






assigns to the SlideRange object variable mySlideRange the slides named Intro and Outro in the active presentation:

 
Sub rangeArray()
    Set mySlideRange = ActivePresentation.Slides.Range(Array("Intro", "Outro"))
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.Working with a Range of Slides