AutoFormatAsYouTypeInsertClosings Property

Microsoft Word Visual Basic

expression.AutoFormatAsYouTypeInsertClosings

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 insert the corresponding memo closing when the user enters a memo heading.

Sub AutoInsertClosings()
    Options.AutoFormatAsYouTypeInsertClosings = True
End Sub