Presentation.PublishObjects Property (PowerPoint)
Returns a PublishObjects collection that represents the set of complete or partial loaded presentations that are available to publish to HTML. Read-only.
Syntax
expression .PublishObjects
expression A variable that represents a Presentation object.
Return Value
PublishObjects
Example
This example publishes slides three through five of the active presentation to HTML. It names the published presentation Mallard.htm.
With ActivePresentation.PublishObjects.Item(1)
.FileName = "C:\Test\Mallard.htm"
.SourceType = ppPublishSlideRange
.RangeStart = 3
.RangeEnd = 5
.Publish
End With