expression.AutoFormatMatchParentheses
expression Required. An expression that returns an Options object.
Example
This example sets Microsoft Word to automatically correct pairs of parentheses, and then it formats the current selection.
Options.AutoFormatMatchParentheses = True
Selection.Range.AutoFormat