XL2000: Macro Example to Return Item from a Worksheet Control (213381)
The information in this article applies to:
This article was previously published under Q213381 SUMMARY
In Microsoft Excel, you can place a control, such as a list box or a combo box, on a worksheet. You can also attach macros to these controls so
that the macro runs when an item is selected from that control.
This article contains a sample Microsoft Visual Basic for Applications
Sub procedure (macro) that takes the item that is chosen from a combo box list on a worksheet and places that item in the active cell of the worksheet.
REFERENCESFor more information about about adding controls to a worksheet, click Microsoft Excel Help on the Help menu, type controls in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB213381 |
---|
|