Options.AutoFormatAsYouTypeMatchParentheses Property

Word Developer Reference

True for Microsoft Word to automatically correct improperly paired parentheses. Read/write.

Syntax

expression.AutoFormatAsYouTypeMatchParentheses

expression   Required. A variable that represents an Options collection.

Example

This example sets Microsoft Word to automatically correct improperly paired parentheses as you type.

Visual Basic for Applications
  Sub AutoMatchParentheses()
    Options.AutoFormatAsYouTypeMatchParentheses = True
End Sub

See Also