RAKESH230583
New Member
- Joined
- Jan 10, 2011
- Messages
- 46
Hi Friends,
Case : Below table shows some product details, where in under column A we have only 2 product i.e. Product A & Product B.
Column B represent product Group & Last column C represent Grade of (Product and its group).
Excel Sheet 1.
[TABLE="width: 216"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Product[/TD]
[TD]Group[/TD]
[TD]Grade[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Product A[/TD]
[TD]Gold[/TD]
[TD]Grade I[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Product A[/TD]
[TD]Gold[/TD]
[TD]Grade II[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Product A[/TD]
[TD]Silver[/TD]
[TD]Grade I[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Product A[/TD]
[TD]Silver[/TD]
[TD]Grade II[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Product A[/TD]
[TD]Silver[/TD]
[TD]Grade III[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Product A[/TD]
[TD]Platinum[/TD]
[TD]Grade I[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Product B[/TD]
[TD]Gold[/TD]
[TD]Grade I[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Product B[/TD]
[TD]Gold[/TD]
[TD]Grade II[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Product B[/TD]
[TD]Gold[/TD]
[TD]Grade III[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Product B[/TD]
[TD]Gold[/TD]
[TD]Grade IV[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Product B[/TD]
[TD]Silver[/TD]
[TD]Grade I[/TD]
[/TR]
</tbody>[/TABLE]
I had created 3 ComboBoxes in Excel userform - But i am not able to get the desired drop down list. As, all three are inter related to each other.
Requirement Example:
Combobox1 : User must see only 2 Product (Product A & B)
Combobox2 : User must see only those Group which are available against that product (i.e Platinum must show only against Product A and not against Product B) - Post selecting product in Combobox1
Combobox3 : User must see only those Grade which are available against that product & Group (i.e. if user select product as "A" and group as "Platinum", then under combobox3 - User must see only 1 Grade i.e. "Grade I")
.
I hope i am clear with above example -
Kindly share your knowledge, for me to understand how to tackle above with vba code.
Thanks in advance.
Case : Below table shows some product details, where in under column A we have only 2 product i.e. Product A & Product B.
Column B represent product Group & Last column C represent Grade of (Product and its group).
Excel Sheet 1.
[TABLE="width: 216"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Product[/TD]
[TD]Group[/TD]
[TD]Grade[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Product A[/TD]
[TD]Gold[/TD]
[TD]Grade I[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Product A[/TD]
[TD]Gold[/TD]
[TD]Grade II[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Product A[/TD]
[TD]Silver[/TD]
[TD]Grade I[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Product A[/TD]
[TD]Silver[/TD]
[TD]Grade II[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Product A[/TD]
[TD]Silver[/TD]
[TD]Grade III[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Product A[/TD]
[TD]Platinum[/TD]
[TD]Grade I[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Product B[/TD]
[TD]Gold[/TD]
[TD]Grade I[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Product B[/TD]
[TD]Gold[/TD]
[TD]Grade II[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Product B[/TD]
[TD]Gold[/TD]
[TD]Grade III[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Product B[/TD]
[TD]Gold[/TD]
[TD]Grade IV[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Product B[/TD]
[TD]Silver[/TD]
[TD]Grade I[/TD]
[/TR]
</tbody>[/TABLE]
I had created 3 ComboBoxes in Excel userform - But i am not able to get the desired drop down list. As, all three are inter related to each other.
Requirement Example:
Combobox1 : User must see only 2 Product (Product A & B)
Combobox2 : User must see only those Group which are available against that product (i.e Platinum must show only against Product A and not against Product B) - Post selecting product in Combobox1
Combobox3 : User must see only those Grade which are available against that product & Group (i.e. if user select product as "A" and group as "Platinum", then under combobox3 - User must see only 1 Grade i.e. "Grade I")
.
I hope i am clear with above example -
Kindly share your knowledge, for me to understand how to tackle above with vba code.
Thanks in advance.