Syntax
ToolsOptionsGrammar [.Options = number] [.CheckSpelling = number] [, .ShowStatistics = number]
Remarks
Sets grammar checking options. The arguments for the ToolsOptionsGrammar statement correspond to the options on the Grammar tab in the Options dialog box (Tools menu).
Argument | Explanation | |
.Options | Specifies which set of grammar rules to use: 0 (zero) All rules 1 Rules for business writing 2 Rules for casual writing 3 First custom settings 4 Second custom settings 5 Third custom settings | |
.CheckSpelling | If 1, checks spelling during grammar checking. | |
.ShowStatistics | If 1, readability statistics are displayed when the grammar check is complete. |
Example
This example specifies that spelling be checked with grammar, and then starts the grammar checker:
ToolsOptionsGrammar .CheckSpelling = 1, .ShowStatistics = 1 ToolsGrammar
See Also
ToolsGrammar