FormElement Object

SharePoint Designer Developer Reference

Represents a FORM element in an HTML document.

Interfaces
This object implements the following interfaces

Remarks

Use the forms property to return an ElementCollection collection that represents a collection of all the FORM elements in a document. Use the Item method to return a FormElement 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.

Visual Basic for Applications
Dim objForm As FormElement
Set objForm = ActiveDocument.forms.Item(0)

See Also