HTMLVersion Property

Microsoft PowerPoint Visual Basic

HTMLVersion Property

       

Returns or sets the version of HTML for a published presentation. Read/write PpHTMLVersion.

PpHTMLVersion can be one of these PpHTMLVersion constants.
ppHTMLAutodetect
ppHTMLDual
ppHTMLv3
ppHTMLv4 Default.

expression.HTMLVersion

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example publishes slides three through five of the active presentation in HTML version 3.0. It names the published presentation Mallard.htm.

With ActivePresentation.PublishObjects(1)
    .FileName = "C:\Test\Mallard.htm"
    .SourceType = ppPublishSlideRange
    .RangeStart = 3
    .RangeEnd = 5
    .HTMLVersion = ppHTMLv3
    .Publish
End With