Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 913 Bytes

Word.TextInput.Format.md

File metadata and controls

45 lines (28 loc) · 913 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
TextInput.Format property (Word)
vbawd10.chm153550851
vbawd10.chm153550851
Word.TextInput.Format
5950cabb-dfd3-0107-6a51-efe8813a297f
06/08/2017
medium

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

TextInput Object

[!includeSupport and feedback]