Dialog.DefaultTab property (Word)

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.

With Dialogs(wdDialogFilePageSetup) 
 .DefaultTab = wdDialogFilePageSetupTabPaperSource 
 .Show 
End With

See also

Dialog Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.