N
Newbie
I was given the following code to set the value to the first item of the
combobox:
Me.Combo1.Value = Me.Combo1.ItemData(Abs(Me.Combo1.ColumnHeads))
This works great but how can I set it to the last or 2nd item of the
combobox.
I was also told the following would work
combo1.ListIndex = 1
but I get the message:
Runtime error '7777'
You've used the ListIndex property incorrectly
How can I set the combobox to the item I want it to be?
combobox:
Me.Combo1.Value = Me.Combo1.ItemData(Abs(Me.Combo1.ColumnHeads))
This works great but how can I set it to the last or 2nd item of the
combobox.
I was also told the following would work
combo1.ListIndex = 1
but I get the message:
Runtime error '7777'
You've used the ListIndex property incorrectly
How can I set the combobox to the item I want it to be?