Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

NamedRange.DialogBox Method

Displays a dialog box defined by a dialog box definition table on a Microsoft Office Excel 4.0 macro sheet.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Object DialogBox()

Return Value

Type: System.Object
The number of the chosen control, or false if the user clicks the Cancel button.

The NamedRange control must be a dialog box definition table on an Excel 4.0 macro sheet.

© 2015 Microsoft