DialogBox Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

                 

Displays a dialog box defined by a dialog box definition table on a Microsoft Excel 4.0 macro sheet. Returns the number of the chosen control, or returns False if the user clicks the Cancel button.

Syntax

expression**.DialogBox**

expression   Required. An expression that returns a Range object. The Range must refer to a dialog box definition table on a Microsoft Excel 4.0 macro sheet.