ToolsGrammar

Syntax

ToolsGrammar

Remarks

Displays the Grammar dialog box (Tools menu) and begins checking grammar in the active document.

Example

This example displays a message box that asks whether or not to check grammar. If the user chooses the Yes button (returning a value of –1), Word begins checking grammar.


ans = MsgBox("Check grammar now?", 3)
If ans = -1 Then ToolsGrammar

See Also

ToolsSpelling