XmlMappedRange.DialogBox Method (2007 System)
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.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public Function DialogBox As Object
'Usage
Dim instance As XmlMappedRange
Dim returnValue As Object
returnValue = instance.DialogBox()
public Object DialogBox()
public:
Object^ DialogBox()
public function DialogBox() : Object
Return Value
Type: System.Object
The number of the chosen control, or returns false if the user clicks the Cancel button.
Remarks
The returned Range object must refer to 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.