Jim Horn
asked on
Access listbox: VBA to select an item
Hi guys
I have an Access list box that populates fine. No rows are selected.
Example: "apples", "oranges", "bananas", "watermelon".
Question: What is the VBA code to programmatically select an item (say "bananas") in the list box?
I see the .ItemsSelected property, but it seems to only apply to all items selected.
Thanks in advance.
Jim
I have an Access list box that populates fine. No rows are selected.
Example: "apples", "oranges", "bananas", "watermelon".
Question: What is the VBA code to programmatically select an item (say "bananas") in the list box?
I see the .ItemsSelected property, but it seems to only apply to all items selected.
Thanks in advance.
Jim
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
btw ... is there just one column in the list box ?
ASKER
There were five, but I butchered the example.
lol ... no problem.
ASKER