title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Application.Dialogs property (Excel) |
vbaxl10.chm133118 |
|
|
0d04aa87-9872-23e5-78e3-c9e3da2c8eb5 |
04/04/2019 |
medium |
Returns a Dialogs collection that represents all built-in dialog boxes. Read-only.
expression.Dialogs
expression A variable that represents an Application object.
This example displays the Open dialog box (File menu).
Application.Dialogs(xlDialogOpen).Show
The following code example opens an email message in Microsoft Outlook with the current workbook attached.
Sub SendIt()
Application.Dialogs(xlDialogSendMail).Show arg1:="ask@mrexcel.com", arg2:="This goes in the subject line"
End Sub
[!includeSupport and feedback]