Collapse the table of content
Expand the table of content
Expand Minimize

Document.CheckGrammar Method (Word)

Office 2013 and later

Contribute to this content

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

Begins a spelling and grammar check for the specified document or range.

expression .CheckGrammar

expression Required. A variable that represents a Document object.

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

This example begins a spelling and grammar check for all stories in the active document.

© 2015 Microsoft