I am experienced with VB.Net but am just learning to code in VBA with MS Access 2007. I have an unbound listbox whose items are selectable by both the user & by code. The next unbound listbox I created would not let the user select an item but items could be selected by code (all relevant properties seem to be set the same). Then I built a unbound combo box but can not select any item by either code or by the user.
Combo1.Selected(x) = True
but
MsgBox "Selected = " & Str(Combo1.Selected(x)) returns 0
and
MsgBox "Items Selected = " & Str(combo1.ItemsSelected.Count) returns 0
I seem to be going backwards! What am I doing wrong?
Galen