ToolsOptions

Syntax

ToolsOptions .Tab = number

Remarks

Displays the Options dialog box (Tools menu) with the specified tab selected. Unless you precede ToolsOptions with an On Error instruction, Word displays an error message if the dialog box is canceled.

Argument

Explanation

.Tab

The tab to select:

0 (zero) View

1 General

2 Edit

3 Print

4 Save

5 Spelling

6 Grammar

7 AutoFormat

8 Revisions

9 User Info

10 Compatibility

11 File Locations


Example

This example displays the View tab in the Options dialog box. The On Error Resume Next instruction prevents Word from displaying an error message if the user chooses Cancel.


On Error Resume Next
ToolsOptions .Tab = 0

See Also

ToolsCustomize