Document.CheckGrammar Method (Word)
Begins a spelling and grammar check for the specified document or range.
Syntax
expression .CheckGrammar
expression Required. A variable that represents a Document object.
Remarks
If the document or range contains errors, this method displays the Spelling and Grammar dialog box, with the Check grammar check box selected. When applied to a document, this method checks all available stories (such as headers, footers, and text boxes).
Example
This example begins a spelling and grammar check for all stories in the active document.
ActiveDocument.CheckGrammar