I have Created a form and in that forum 2 main command button click and each command have 2 sub command button clicks. Depend upon sub command button Click need to display the Specific Combo box dropdown.........I have written code like this
Private Sub Selection1_Click()
Combobox = "Z11110" and "Z222222" and "Z434343"
End Sub
Private Sub Selection2_Click()
Combobox = "Y11110" and "Y222222" and "Y434343"
End Sub
But i am getting Error
I have attached a demographics..please review and help me..........Thank you![]()