Combo Box Default

I think this is an easy question. I have a combo box with ten items in it. Number 7 is by far the most frequently selected of the ten.  How can I make this particular item the one that automatically appears when the user gets to this combo box?
EllingtonAsked:
Who is Participating?
 
mcriderConnect With a Mentor Commented:
Do this in the form load... After you have loaded the combobox...

   combo1.ListIndex=7

Cheers!
0
 
mcriderCommented:
Actually that should be:

   combo1.ListIndex=6

Because the 1st item is 0, the second item is 1, etc...


Cheers!
0
 
mcriderCommented:
You can also set the listindex in the Combo1_GotFocus event...


Cheers!
0
 
mcriderCommented:
Thanks for the points! Glad I could help!



Cheers!
0
All Courses

From novice to tech pro — start learning today.