Partager via


PublishObject.RangeEnd Property (PowerPoint)

Returns or sets the number of the last slide in a range of slides you are publishing as a Web presentation. Read/write.

Syntax

expression .RangeEnd

expression A variable that represents a PublishObject object.

Return Value

Integer

Example

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

See Also

Concepts

PublishObject Object

PublishObject Object Members