combo box input range

MrHaggis

New Member
Joined
Oct 6, 2006
Messages
18
Hi All,
This board is amazing!! I've been searching trying to find the answer to my problem, but can't find precisely what I'm after, so I'll try a new post. Please forgive me if this is something covered in previous topics.

Is there any way to populate the input range of a combo box in a worksheet with dynamic information, ie the result of a filtered list?

I have a long list of products in say, 3 columns, each product with a grouping code attached :
A1: 0001 B1: Brakes C1: $40.00
A2: 0001 B2: Tires C2: $55.00
A3: 0001 B3: Filters C3: $ 6.00
A4: 0002 B4: Widgets C4: $10.00


(0001 Brakes, 0001 Tires, 0001 Filters would all be in group 0001). The list changes at least once a week as we add or remove products.

I want to position one combo box per group on a separate tab that uses for its input range the result of filtering the long list by the applicable grouping code. The value returned would be fed to the order sheet to populate the customer's invoice.

So combo box 1 would allow the clerk to select only from the items that have "0001" as the grouping code, combo box 2 would allow selection from all items with "0002" as the code, etc. In a list of approx 5000 products, there are about 60 groups.

I know this is probably better handled through a database, but you folks seem to be able to do ANYTHING with Excel and VBA. I'm willing to modify my approach if you can steer me in the right direction.

Many thanks!
 
Thanks jindon. There are still multiple compile errors, but it gave me an idea of how to go about creating the list. Thanks!
 
Upvote 0

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Thanks jindon. There are still multiple compile errors, but it gave me an idea of how to go about creating the list. Thanks!

Don't understand why you get such error.
 
Upvote 0

Forum statistics

Threads
1,215,633
Messages
6,125,922
Members
449,274
Latest member
mrcsbenson

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