EntryMacro Property

Applies To

FormField object.

Description

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

See Also

ExitMacro property.

Example

This example assigns the macro named "Blue" to the first form field in "Form.doc."

Documents("Form.doc").FormFields(1).EntryMacro = "Blue"
This example assigns the macro named "Breadth" to the form field named "Text1" in the active document.

ActiveDocument.FormFields("Text1").EntryMacro = "Breadth"