FormField Members (Word)

Represents a single form field. The FormField object is a member of the FormFields collection.

Methods

Name

Description

Copy

Copies the specified form field to the Clipboard.

Cut

Removes the specified form field from the document and places it on the Clipboard.

Delete

Deletes the specified form field.

Select

Selects the specified object.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

CalculateOnExit

True if references to the specified form field are automatically updated whenever the field is exited. Read/write Boolean.

CheckBox

Returns a CheckBox object that represents a check box form field. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

DropDown

Returns a DropDown object that represents a drop-down form field. Read-only.

Enabled

True if a form field is enabled. Read/write Boolean.

EntryMacro

Returns or sets an entry macro name for the specified form field (CheckBox, DropDown, or TextInput). Read/write String.

ExitMacro

Returns or sets an exit macro name for the specified form field (CheckBox, DropDown, or TextInput). Read/write String.

HelpText

Returns or sets the text that's displayed in a message box when the form field has the focus and the user presses F1. Read/write String.

Name

Returns or sets the name of the specified object. Read/write String.

Next

Returns the next form field in the collection. Read-only.

OwnHelp

Specifies the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. Read/write Boolean.

OwnStatus

Specifies the source of the text that's displayed in the status bar when a form field has the focus. Read/write Boolean.

Parent

Returns an Object that represents the parent object of the specified FormField object.

Previous

Returns the previous form field in the collection. Read-only.

Range

Returns a Range object that represents the portion of a document that is contained within the form field.

Result

Returns a String that represents the result of the specified form field. Read/write.

StatusText

Returns or sets the text that is displayed in the status bar when a form field has the focus. Read/write String.

TextInput

Returns a TextInput object that represents a text form field.

Type

Returns the field type. Read-only WdFieldType.