Document.ShowGrammaticalErrors Property (Word)

Office 2013 and later

Contribute to this content

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

True if grammatical errors are marked by a wavy green line in the specified document. Read/write Boolean.

expression .ShowGrammaticalErrors

expression A variable that represents a Document object.

To view grammatical errors in your document, you must set the CheckGrammarAsYouType property to True.

This example sets Word to check for grammatical errors as you type and to display any errors found in the active document.

Options.CheckGrammarAsYouType = True 
ActiveDocument.ShowGrammaticalErrors = True