In case you need the selected list item from a listbox, which only allows single selection the selected list item can be returned using the below source code.

Source Code


Where listBox is the name of the control element / the listbox as you defined it.

Me refers to a form a listbox is placed in.

The column index within a listbox is zero based.