NewbieNils
New Member
- Joined
- Nov 3, 2022
- Messages
- 1
- Office Version
- 2016
- Platform
- Windows
I have created a userform with two comboboxes, based on combobox 1 I would like to populate combobox two.
In combobox 1 there are 6 items to choose from (populated from a range in sheet “Production”, itemA, itemB, ItemC, ItemD, ItemE, ItemF
Based on the selected item in Combobox1 I would like to populate combobox2 as following:
If ItemA is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (T2:T (till last filled cell))
If ItemB is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (V2:V (till last filled cell))
If ItemC is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (X2:X (till last filled cell))
If ItemD is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (Z2:Z (till last filled cell))
If ItemE is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (AB2:AB (till last filled cell))
If ItemF is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (AD2:AD (till last filled cell))
Honestly saying, I have no idea where to start, some help would be much appreciated.
In combobox 1 there are 6 items to choose from (populated from a range in sheet “Production”, itemA, itemB, ItemC, ItemD, ItemE, ItemF
Based on the selected item in Combobox1 I would like to populate combobox2 as following:
If ItemA is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (T2:T (till last filled cell))
If ItemB is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (V2:V (till last filled cell))
If ItemC is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (X2:X (till last filled cell))
If ItemD is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (Z2:Z (till last filled cell))
If ItemE is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (AB2:AB (till last filled cell))
If ItemF is selected, Combobox2 should be populated from range in Sheet ”supply_to_production” range (AD2:AD (till last filled cell))
Honestly saying, I have no idea where to start, some help would be much appreciated.