How can I retrieve the value of specified column of the selected row in a multicolumn listbox?
I populate the listbox by setting the RowSource property with a SQL string. BoundColumn set to value 1.
I can retrieve the value of the bound column (of the selected row) by using ListBox.Value
. But I also want the value of another column.
For Each itm In Me.List0.ItemsSelected
..s = s & vbCrLf & Me.List0.Column(1, itm)
..Next
..MsgBox s
– Jamila