Combo Box dependent on text box value

charly1988

New Member
Joined
Jul 31, 2022
Messages
13
Office Version
  1. 2016
Platform
  1. Windows
I have a sheet for items, with 4 columns (ItemCode, ItemName, Type and Country). I have named it has ITEM_TABLE in the named range.
In my userform i have a textbox which says the country name when the userform initialize. so what i want is According to the country name the combo box has to show the items which belongs to that country.

ItemCode ItemName Type Country
ITM01 D_Item01 box Dubai
ITM02 I_Item01 bag Iran
ITM03 D_Item02 box Dubai
ITM04 I_Item02 bag Iran

textbox : Dubai
Combobox : D_Item01
D_Item02
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,215,772
Messages
6,126,806
Members
449,337
Latest member
BBV123

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