Edit

Share via


Range.DialogBox Method

Definition

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

public:
 System::Object ^ DialogBox();
public object DialogBox ();
Public Function DialogBox () As Object

Returns

Remarks

This method returns the number of the chosen control, or returns False if the user clicks the Cancel button.

The returned Range object must refer to a dialog box definition table on a Microsoft Excel 4.0 macro sheet.

Applies to