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)

Syntax

'Declaration
Function DialogBox As Object
Object DialogBox()

Return Value

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

Remarks

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

.NET Framework Security

See Also

Reference

NamedRange Interface

Microsoft.Office.Tools.Excel Namespace