PublishObject.RangeStart Property
Returns or sets the number of the first slide in a range of slides you are publishing as a Web presentation. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property RangeStart As Integer
Get
Set
'Usage
Dim instance As PublishObject
Dim value As Integer
value = instance.RangeStart
instance.RangeStart = value
int RangeStart { get; set; }
Property Value
Type: System.Int32
Integer
Examples
This example publishes slides three through five of the active presentation to HTML. It names the published presentation Mallard.htm.
With ActivePresentation.PublishObjects(1)
.FileName = "C:\Test\Mallard.htm"
.SourceType = ppPublishSlideRange
.RangeStart= 3
.RangeEnd = 5
.Publish
End With