Hello Everyone,
I have a userform in which i made two combo box, below are the name's
ComFruits_Change()
ComVeg_Change()
Both combo box having informations like below:
Private Sub UserForm_Initialize()
ComFruits.AddItem "Apple 1"
ComFruits.AddItem "Apple 2 "
ComFruits.AddItem "Orange 1"
ComFruits.AddItem "Orange 2"
ComVeg.AddItem "Tomato 1"
ComVeg.AddItem "Tomato 2"
ComVeg.AddItem "Potato 1"
ComVeg.AddItem "Potato 2""
Now i have two check boxes, below are the name's
Private Sub Fruit_Click()
End Sub
Private Sub Vegetable_Click()
End Sub
and last i have one text box, below is the name:
Private Sub txtABC_Change()
End Sub
Now i want if Fruit checkbox is checked then ComFruits_Change() , should be active and other one should be inactive, same with if Vegetable checkbox is checked then ComFruits_Change() should be inactive and other one should be active.
then if txtABC value is apple then under ComFruits_Change(), apple 1 and apple 2 value should reflect, same if value is orange then ComFruits_Change(), orange 1 and orange 2 should reflect.
Please help me with the same. i tried but couldn't happn
I have a userform in which i made two combo box, below are the name's
ComFruits_Change()
ComVeg_Change()
Both combo box having informations like below:
Private Sub UserForm_Initialize()
ComFruits.AddItem "Apple 1"
ComFruits.AddItem "Apple 2 "
ComFruits.AddItem "Orange 1"
ComFruits.AddItem "Orange 2"
ComVeg.AddItem "Tomato 1"
ComVeg.AddItem "Tomato 2"
ComVeg.AddItem "Potato 1"
ComVeg.AddItem "Potato 2""
Now i have two check boxes, below are the name's
Private Sub Fruit_Click()
End Sub
Private Sub Vegetable_Click()
End Sub
and last i have one text box, below is the name:
Private Sub txtABC_Change()
End Sub
Now i want if Fruit checkbox is checked then ComFruits_Change() , should be active and other one should be inactive, same with if Vegetable checkbox is checked then ComFruits_Change() should be inactive and other one should be active.
then if txtABC value is apple then under ComFruits_Change(), apple 1 and apple 2 value should reflect, same if value is orange then ComFruits_Change(), orange 1 and orange 2 should reflect.
Please help me with the same. i tried but couldn't happn