|Word Developer Reference|
Use Dialogs(Index), where Index is a WdWordDialog constant that identifies the dialog box, to return a single Dialog object. The following example displays and carries out the actions taken in the built-in Open dialog box.
|Visual Basic for Applications|
The WdWordDialog constants are formed from the prefix "wdDialog" followed by the name of the menu and the dialog box. For example, the constant for the Page Setup dialog box is wdDialogFilePageSetup, and the constant for the New dialog box is wdDialogFileNew.
For more information about working with built-in Word dialog boxes, see Displaying built-in Word dialog boxes.