Share via


FormField.ExitMacro Property

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property ExitMacro As String
    Get
    Set
'Usage
Dim instance As FormField
Dim value As String

value = instance.ExitMacro

instance.ExitMacro = value
string ExitMacro { get; set; }

Property Value

Type: System.String

Remarks

The exit macro runs when the form field loses the focus.

See Also

Reference

FormField Interface

FormField Members

Microsoft.Office.Interop.Word Namespace