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)

Syntax

'Declaration
<GuidAttribute("000C0358-0000-0000-C000-000000000046")> _
Public Interface HTMLProjectItem _
    Inherits _IMsoDispObj
'Usage
Dim instance As HTMLProjectItem
[GuidAttribute("000C0358-0000-0000-C000-000000000046")]
public interface HTMLProjectItem : _IMsoDispObj

Remarks

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.

See Also

Reference

HTMLProjectItem Members

Microsoft.Office.Core Namespace