Range.CheckGrammar Method
Word Developer Reference |
Begins a spelling and grammar check for the specified range.
Syntax
expression.CheckGrammar
expression Required. A variable that represents a Range object.
Remarks
If the range contains errors, this method displays the Spelling and Grammar dialog box, with the Check grammar check box selected.
Example
This example begins a spelling and grammar check on section two in MyDocument.doc.
Visual Basic for Applications |
---|
|
This example begins a spelling and grammar check on the selection.
Visual Basic for Applications |
---|
|
See Also