Silly question I know but when the user clicks a line in my list box - how do I tell which line has been selected - I can tell how may I have altogether and how many slected but not which one.
Printable View
Silly question I know but when the user clicks a line in my list box - how do I tell which line has been selected - I can tell how may I have altogether and how many slected but not which one.
You need the extended properties of hte list box for mor than one selected.
.selected <- status of list
.ItemsSelected
Look at the help files and try some code. Should return the bound/id field...
Vince
List1.List(List1.ListIndex)