FPHTMLOListElement Object

Microsoft FrontPage Visual Basic

FPHTMLOListElement Object

FPHTMLOListElement Multiple objects

Represents an OL element in an HTML document. See also the IHTMLOListElement object.

Using the FPHTMLOListElement Object

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

    Dim objList As FPHTMLOListElement

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