Options.AutoFormatMatchParentheses property (Word)

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.

Options.AutoFormatMatchParentheses = True 
Selection.Range.AutoFormat

See also

Options Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.