AutoFormatMatchParentheses Property

True if improperly paired parentheses are corrected when Microsoft Word formats a document or range automatically. Read/write Boolean.

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

Applies to | Options Object

See Also | AutoFormatDeleteAutoSpaces Property | AutoFormatReplaceFarEastDashes Property