TextInput Property

See Also         Example         Applies To

Returns a TextInput object that represents a text form field. Read-only.

Remarks

If the TextInput property is applied to a FormField object that isn't a drop-down form field, the property won't fail, but the Valid property for the returned object will be False.

Use the Result property with the FormField object to return or set the contents of a TextInput object.

ActiveDocument.FormFields("Text1").Result = "John Doe"