XL2000: How to Return Data from a Dialog Box to a Worksheet (213632)
The information in this article applies to:
This article was previously published under Q213632 SUMMARY
In Microsoft Excel, each type of control on a custom dialog box (a drop-down list, an edit box, and so forth) has a distinct return value that can be returned to a worksheet. This article explains how you can create a custom dialog box; it also contains a sample Microsoft Visual Basic for Applications macro that retrieves data from a dialog box control and places that data on a worksheet.
Similar procedures can be used to return values from the controls on an inserted UserForm.
REFERENCESFor more information about control properties, click Microsoft Excel Help on the
Help menu, type about control properties in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbinfo kbProgramming KB213632 |
---|
|