TextInput.Format property (Word)
Returns the text formatting for the specified text box. Read-only String.
Syntax
expression.Format
expression Required. A variable that represents a 'TextInput' object.
Example
This example displays the text formatting in the first field of the active document.
If ActiveDocument.FormFields(1).Type = wdFieldFormTextInput Then
MsgBox ActiveDocument.FormFields(1).TextInput.Format
Else
MsgBox "First field is not a text form field"
End If
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.