Options.AutoFormatMatchParentheses Property

Word Developer Reference

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

Syntax

expression.AutoFormatMatchParentheses

expression   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.

Visual Basic for Applications
  Options.AutoFormatMatchParentheses = True
Selection.Range.AutoFormat

See Also