IHTMLSelectElement Object

IHTMLSelectElement
IHTMLFormElement

Represents a SELECT element in an HTML document. The IHTMLSelectElement object provides access to a limited number of properties and methods related to the SELECT element. For access to all properties and methods, use the FPHTMLSelectElement object.

Using the IHTMLSelectElement Object

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

Dim objSelect As IHTMLSelectElement

Set objSelect = ActiveDocument.all.tags("select").Item(0)

Properties | disabled Property | form Property | Length Property | multiple Property | name Property | onchange Property | options Property | selectedIndex Property | size Property | Type Property | value Property

Methods | add Method | item Method | Remove Method | tags Method

Parent Objects

Child Objects | IHTMLFormElement Object