HTMLProject Property

Microsoft PowerPoint Visual Basic

Returns the HTMLProject object, which is a Web presentation (HTML format) accessed through the Microsoft Script Editor. Read-only.

Remarks

The HTMLProject object can be interpreted as the top-level project branch in the Project Explorer window of the Script Editor, for a loaded presentation. It contains the HTMLProjectItems collection. Members of the HTMLProjectItems collection represent a slide, master, or the handout for the Web presentation.

Example

This example checks the name of each member in the HTMLProjectItems collection for the loaded HTMLProject. If the name is Slide2, it then opens the generated HTML for that slide in the Microsoft Script Editor.

Dim i As Integer
With ActivePresentation.HTMLProject
    For i = 1 To .HTMLProjectItems.Count
        If .HTMLProjectItems(i).Name = "Slide2" Then
            .HTMLProjectItems(i).Open
        End If
    Next
End With