Share via


Dialogs.Item Method

Word Developer Reference

Returns a dialog in Microsoft Word.

Syntax

expression.Item(Index)

expression   Required. A variable that represents a Dialogs collection.

Parameters

Name Required/Optional Data Type Description
Index Required WdWordDialog A constant that specifies the dialog.

Return Value
Dialog

Example

This example displays the Page Setup dialog.

Visual Basic for Applications
  Sub DialogItem()
    Application.Dialogs.Item(wdDialogFileDocumentLayout).Display
End Sub

See Also