IHTMLUListElement Object

Microsoft FrontPage Visual Basic

IHTMLUListElement Object

IHTMLUListElement

Represents a UL element in an HTML document. The IHTMLUListElement object provides access to a limited number of properties and methods that relate to the UL element. For access to additional properties and methods, use the FPHTMLUListElement object

Using the IHTMLUListElement Object

Use the tags method to return an IHTMLElementCollection collection that represents a collection of all the UL elements in a document. Use the Item method to return an IHTMLUListElement object that accesses a specific UL element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first UL element in the active document.

    Dim objList As IHTMLUListElement

Set objList = ActiveDocument.all.tags("ul").Item(0)