Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 990 Bytes

Excel.Application.Dialogs.md

File metadata and controls

44 lines (28 loc) · 990 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.Dialogs property (Excel)
vbaxl10.chm133118
vbaxl10.chm133118
Excel.Application.Dialogs
0d04aa87-9872-23e5-78e3-c9e3da2c8eb5
04/04/2019
medium

Application.Dialogs property (Excel)

Returns a Dialogs collection that represents all built-in dialog boxes. Read-only.

Syntax

expression.Dialogs

expression A variable that represents an Application object.

Example

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]