DefaultTab Property

Microsoft Word Visual Basic

DefaultTab Property

       

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

WdWordDialogTab can be one of these WdWordDialogTab constants.
wdDialogEmailOptionsTabSignature
wdDialogFilePageSetupTabCharsLines
wdDialogFilePageSetupTabMargins
wdDialogFilePageSetupTabPaperSize
wdDialogFormatBordersAndShadingTabBorders
wdDialogFormatBordersAndShadingTabShading
wdDialogFormatBulletsAndNumberingTabNumbered
wdDialogFormatDrawingObjectTabColorsAndLines
wdDialogFormatDrawingObjectTabPicture
wdDialogFormatDrawingObjectTabSize
wdDialogFormatDrawingObjectTabWeb
wdDialogFormatFontTabAnimation
wdDialogFormatFontTabFont
wdDialogFormatParagraphTabTeisai
wdDialogInsertIndexAndTablesTabIndex
wdDialogInsertIndexAndTablesTabTableOfContents
wdDialogInsertSymbolTabSpecialCharacters
wdDialogLetterWizardTabLetterFormat
wdDialogLetterWizardTabRecipientInfo
wdDialogNoteOptionsTabAllEndnotes
wdDialogOrganizerTabAutoText
wdDialogOrganizerTabMacros
wdDialogTablePropertiesTabCell
wdDialogTablePropertiesTabRow
wdDialogEmailOptionsTabQuoting
wdDialogEmailOptionsTabStationary
wdDialogFilePageSetupTabLayout
wdDialogFilePageSetupTabPaper
wdDialogFilePageSetupTabPaperSource
wdDialogFormatBordersAndShadingTabPageBorder
wdDialogFormatBulletsAndNumberingTabBulleted
wdDialogFormatBulletsAndNumberingTabOutlineNumbered
wdDialogFormatDrawingObjectTabHR
wdDialogFormatDrawingObjectTabPosition
wdDialogFormatDrawingObjectTabTextbox
wdDialogFormatDrawingObjectTabWrapping
wdDialogFormatFontTabCharacterSpacing
wdDialogFormatParagraphTabIndentsAndSpacing
wdDialogFormatParagraphTabTextFlow
wdDialogInsertIndexAndTablesTabTableOfAuthorities
wdDialogInsertIndexAndTablesTabTableOfFigures
wdDialogInsertSymbolTabSymbols
wdDialogLetterWizardTabOtherElements
wdDialogLetterWizardTabSenderInfo
wdDialogNoteOptionsTabAllFootnotes
wdDialogOrganizerTabCommandBars
wdDialogOrganizerTabStyles
wdDialogTablePropertiesTabColumn
wdDialogTablePropertiesTabTable
wdDialogToolsAutoCorrectExceptionsTabFirstLetter
wdDialogToolsAutoCorrectExceptionsTabHangulAndAlphabet
wdDialogToolsAutoCorrectExceptionsTabIac
wdDialogToolsAutoCorrectExceptionsTabInitialCaps
wdDialogToolsAutoManagerTabAutoCorrect
wdDialogToolsAutoManagerTabAutoFormat
wdDialogToolsAutoManagerTabAutoFormatAsYouType
wdDialogToolsAutoManagerTabAutoText
wdDialogToolsAutoManagerTabTraits
wdDialogToolsEnvelopesAndLabelsTabEnvelopes
wdDialogToolsEnvelopesAndLabelsTabLabels
wdDialogToolsOptionsTabAcetate
wdDialogToolsOptionsTabBidi
wdDialogToolsOptionsTabCompatibility
wdDialogToolsOptionsTabEdit
wdDialogToolsOptionsTabFileLocations
wdDialogToolsOptionsTabFuzzy
wdDialogToolsOptionsTabGeneral
wdDialogToolsOptionsTabHangulHanjaConversion
wdDialogToolsOptionsTabPrint
wdDialogToolsOptionsTabProofread
wdDialogToolsOptionsTabSave
wdDialogToolsOptionsTabSecurity
wdDialogToolsOptionsTabTrackChanges
wdDialogToolsOptionsTabTypography
wdDialogToolsOptionsTabUserInfo
wdDialogToolsOptionsTabView
wdDialogWebOptionsBrowsers
wdDialogWebOptionsEncoding
wdDialogWebOptionsFiles
wdDialogWebOptionsFonts
wdDialogWebOptionsGeneral
wdDialogWebOptionsPictures

expression.DefaultTab

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

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

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