G
Guest
How can I specify a range of slides without listing each slide in the desired
range?
For example the following works to specify slides 1 through 5:
For Each objSlide In ActivePresentation.Slides.Range(Array(1, 2, 3, 4,
5))
However, sometimes the desired range will include 50 or more slides, and
listing them individually seems silly and time consuming... Therefore I'd
like to write something like the following (which doesn't work):
For Each objSlide In ActivePresentation.Slides.Range(Array(1 To 5))
range?
For example the following works to specify slides 1 through 5:
For Each objSlide In ActivePresentation.Slides.Range(Array(1, 2, 3, 4,
5))
However, sometimes the desired range will include 50 or more slides, and
listing them individually seems silly and time consuming... Therefore I'd
like to write something like the following (which doesn't work):
For Each objSlide In ActivePresentation.Slides.Range(Array(1 To 5))