HTMLProject HTMLProject HTMLProject Interface


Represents a top-level project branch, as in the Project Explorer in the Microsoft Script Editor.

public interface class HTMLProject : Microsoft::Office::Core::_IMsoDispObj
public interface HTMLProject : Microsoft.Office.Core._IMsoDispObj
Public Interface HTMLProject
Implements _IMsoDispObj


Use the Open(MsoHTMLProjectOpen) method of the HTMLProject object to open an HTML project in the Microsoft Script Editor. The project is opened in source view or text view for the active Microsoft Word document, Excel workbook, or PowerPoint presentation.

Use the HTMLProjectItems property to return the collection of HTMLProjectItem objects in the HTML project. Use the RefreshDocument(Boolean) method to refresh the HTML document in the host application. Use the RefreshProject(Boolean) method to refresh the project in the Microsoft Script Editor. Use the State method to determine whether the HTML project needs to be refreshed.


Application Application Application

Returns an Application object that represents the container application for the object.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

HTMLProjectItems HTMLProjectItems HTMLProjectItems

Returns the HTMLProjectItems collection that is included in the specified HTML project.

Parent Parent Parent

Returns the Parent object for the specified object.

State State State

Returns the current state of an HTMLProject object.


Open(MsoHTMLProjectOpen) Open(MsoHTMLProjectOpen) Open(MsoHTMLProjectOpen)

Opens the specified HTML project or HTML project item in the Microsoft Script Editor in one of the views specified by the optional MsoHTMLProjectOpen constants.

RefreshDocument(Boolean) RefreshDocument(Boolean) RefreshDocument(Boolean)

Refreshes the specified HTML project in the Microsoft Office host application.

RefreshProject(Boolean) RefreshProject(Boolean) RefreshProject(Boolean)

Refreshes the specified HTML project in the Microsoft Script Editor.

Applies to