This documentation is archived and is not being maintained.

FPHTMLFormElement Object

Office 2003
Multiple objects

Represents a FORM element in an HTML document. See alto the IHTMLFormElement object.

Using the FPHTMLFormElement Object

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

    Dim objForm As FPHTMLFormElement

Set objForm = ActiveDocument.forms.Item(0)

Parent Objects