Syntax
ToolsSpellSelection
Remarks
Checks spelling in the current selection. If the selection is only part of a word, or if the insertion point is at the end of a word, the selection is extended to include the whole word. If the insertion point isn't in or doesn't follow a word, the next word is checked.
Example
This example asks whether or not to check the spelling of the current selection, and then checks spelling if the user chooses the Yes button:
ans = MsgBox("Check spelling of selection?", 3) If ans = -1 Then ToolsSpellSelection
See Also
ToolsOptionsSpelling, ToolsSpelling