Share via


NamedRange.DialogBox Method

Definition

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

public:
 System::Object ^ DialogBox();
public object DialogBox ();
abstract member DialogBox : unit -> obj
Public Function DialogBox () As Object

Returns

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.

Applies to