Syntax

expression.Name

expression A variable that represents a HTMLProjectItem object.

Return Value
String

Remarks
Represents an individual project item that's a project item branch in the Microsoft Script Editor.

Example
The following example returns the name of the first project item in the HTMLProjectItems collection for the active document.

Visual Basic for Applications
MsgBox "The first item is " & _ ActiveDocument.HTMLProject.HTMLProjectItems(1).Name