Options.AutoFormatAsYouTypeMatchParentheses Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .AutoFormatAsYouTypeMatchParentheses

expression Required. A variable that represents an Options collection.

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

Sub AutoMatchParentheses() 
 Options.AutoFormatAsYouTypeMatchParentheses = True 
End Sub
Show: