Dialog.DefaultTab Property

Word Developer Reference

Returns or sets the active tab when the specified dialog box is displayed. Read/write WdWordDialogTab.

Syntax

expression.DefaultTab

expression   Required. A variable that represents a Dialog object.

Example

This example displays the Page Setup dialog box with the Paper Source tab selected.

Visual Basic for Applications
  With Dialogs(wdDialogFilePageSetup)
    .DefaultTab = wdDialogFilePageSetupTabPaperSource
    .Show
End With

See Also