Class PrintRange (PowerPoint VBA)

The class PrintRange represents a single range of consecutive slides or pages to be printed. To use a PrintRange class variable it first needs to be instantiated, for example


Dim pre as PrintRange
Set pre = ActivePresentation.PrintOptions.Ranges(Index:=1)

Delete

Deletes the specified PrintRange object.


ActivePresentation.PrintOptions.Ranges(1).Delete

End

Returns the number of the last slide in the specified print range.


Dim lngEnd As Long
lngEnd = ActivePresentation.PrintOptions.Ranges(1).End

Start

Returns the number of the first slide in the range of slides to be printed.


Dim lngStart As Long
lngStart = ActivePresentation.PrintOptions.Ranges(1).Start