Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

© 2015 Microsoft