This documentation is archived and is not being maintained.

HTMLProjectItem Interface

Represents an individual project item that’s a project item branch in the Project Explorer in the Microsoft Script Editor.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

public interface HTMLProjectItem : _IMsoDispObj

The HTMLProjectItem object is a member of the HTMLProjectItems collection.

Use HTMLProjectItems(index), where index is the name or index number of a project item, to return a single HTMLProjectItem object. Use the Name property to return the display name of the project item.

Use the Open method to open a project item in source view or text view, and use the IsOpen property to determine whether the project item is currently open.

Use the SaveCopyAs method to save the project item using a new file name.