![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
How do you name a combo box that has been created in a worksheet? I've been able to assign a range to the box, but I don't know how to assign a name to the object so that I can reference it in VBA.
Thanks, Will |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Will,
If it's a forms control (which I think it is), then I don't think you can name it. You will have to use a visual basic control instead. Click view | toolbars | visual basic, then from the vb toolbar, select the combo box control (click the tools icon if it's not visible) and insert that instead of the the forms control. To rename the control, right click on the object and select properties. Change the name on the first line to whatever name you want for your combobox. Aloha! |
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Location: ]-[ /-\ \/\/ /-\ | | ~~~@|_()]-[/-\!!!
Posts: 48
|
(above post from me)
|
|
|
|
|
|
#4 |
|
New Member
Join Date: Mar 2002
Posts: 24
|
Thanks,
That did the trick. Will |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|