This will show what is selected in a list box. This will only show the bound column value.
Set ctl = Forms!frmSelection!lstSecMatching
For Each varItem In ctl.ItemsSelected
txt = ctl.ItemData(varItem)
MsgBox txt
Next varItem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This will give you the option of showing other columns besides the bound column.
For Each varItm In ctlF.ItemsSelected
lngMatchId = ctlF.Column(0, varItm)
Next varItm
You want to make an array that holds all of the info that you selected because this just show individual selections without saving them anywhere. Let me know if you need any more help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.