Dialogs.Item Method (Word)
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.
Sub DialogItem()
Application.Dialogs.Item(wdDialogFileDocumentLayout).Display
End Sub