I want the combobox cmbBottle to show the second item in its list when the userform shows. The code below achieves this. However, after executing cmbbottle.listindex=1, the program jumps out of the initialization and goes to Private Sub cmbBottle_change() and then executes others subs called under it. I don't want this.
Is there a way to set the combobox to a default, startup display, without triggering the cmbBottle_change event?
(I have looked under the Properties window of combobox in the form view mode and can't see how to set it's value there.)
Private Sub UserForm_Initialize()
cmbBottle.ListIndex = 1
.
.
.
.
Private Sub cmbBottle_change()
SelectCaseBottle
.
.
.
Is there a way to set the combobox to a default, startup display, without triggering the cmbBottle_change event?
(I have looked under the Properties window of combobox in the form view mode and can't see how to set it's value there.)
Private Sub UserForm_Initialize()
cmbBottle.ListIndex = 1
.
.
.
.
Private Sub cmbBottle_change()
SelectCaseBottle
.
.
.