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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft