How can I Reference Value in Listbox
Hi,
I've been struggling with this seemingly simple problem for two days now!! How can I reference a value in a listbox? Nothing I try seems to work!! This is my current code:
Me!lstCheckOut.SetFocus
Me!lstCheckOut.Selected(0) = True
data = lstCheckOut.ItemData(0)
MsgBox data
Please help if you can.
Thanks,
Dave
|