Combobox help PLEASE - DESPARATELY NEED HELP!!

willlobb

Board Regular
Joined
Mar 29, 2002
Messages
103
Is there any way to (in a user form) have a combo box that will use values from a named range of products in a worksheet, rather than having to use the AddItem method? I need to do this cos the combobox will contain a list of products but this list will be added to and the end user of my system will not know how to use AddItem. The List items need to come from the range of cells. Please help.
Thanks, Will
This message was edited by willlobb on 2002-04-04 12:14
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
If the Combo Box is CB1, and you want the range A24 to E29, you could put in the following in a line of code:

CB1.RowSource = "A24:E29"

Of course, you could assign the range to the RowSource property directly, while setting up your form.
This message was edited by Fryer Tuck on 2002-04-04 12:36
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,208
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top