nieironsio
Vendor
Hello - I am having problem populating my combo boxes and list boxes. I have coded the following:
Private Sub UserForm_Initialize()
textb1.Value = ""
With combobox1
.AddItem "A"
.AddItem "B"
End With
cb1.Value = ""
textbox1.SetFocus
End Sub
This works fine but for some reason when you click another button on my userform next time i go back to combo box 1 A and B are there twice so my list becomes abab instead of ab.
Any help would be much appreciated - thanks - Nie
Private Sub UserForm_Initialize()
textb1.Value = ""
With combobox1
.AddItem "A"
.AddItem "B"
End With
cb1.Value = ""
textbox1.SetFocus
End Sub
This works fine but for some reason when you click another button on my userform next time i go back to combo box 1 A and B are there twice so my list becomes abab instead of ab.
Any help would be much appreciated - thanks - Nie