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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.