Udostępnij za pośrednictwem


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

Concepts

TextInput Object Members

TextInput Object