Compartilhar via


TextInput.Valid Property

Word Developer Reference

True if the specified form field object is a valid check box form field. Read-only Boolean. .

Syntax

expression.Valid

expression   A variable that represents a TextInput object.

Example

This example determines whether the first form field in the active document is a text form field. If the Valid property is True, the contents of the text form field are changed to "Hello."

Visual Basic for Applications
  If ActiveDocument.FormFields(1).TextInput.Valid = True Then
    ActiveDocument.FormFields(1).Result = "Hello"
End If

See Also