AutoFormatAsYouTypeApplyClosings Property

Microsoft Word Visual Basic

AutoFormatAsYouTypeApplyClosings Property

       

True for Microsoft Word to automatically apply the Closing style to letter closings as you type. Read/write Boolean.

expression.AutoFormatAsYouTypeApplyClosings

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

For more information on Japanese AutoFormat options, see Automatically correct text as you type in another language.

Example

This example sets Microsoft Word to automatically apply the Closing style to letter closings as you type.

Sub AutoClosings()
    Options.AutoFormatAsYouTypeApplyClosings = True
End Sub