I'm trying to list items in a combo box. But for some reason, I get 2 of the same thing entered in. here is my code...
~~~~~~~~~~~~~~~~~~~~~~~~~
Private Sub comboBox_Change()
comboBox.Text = "Select which conversion you would like."
comboBox.AddItem ("Dog years to human years.")
End Sub
Private Sub Form_Load()
comboBox.Text = comboBox.List(0)
End Sub
~~~~~~~~~~~~~~~~~~~~~~~~~
The output from this code is
| Select which conversion you would like. |
{Drop down 1 = Dog years to human years.}
{Drop down 2 = Dog years to human years.}
Don't understand why this is happening.
Joe




Reply With Quote