Try this in a command button click or in the afterupdate of the list box:
Dim intRow As Integer
For intRow = 0 To Me!YourListBox.ListCount - 1
If Me!YourListBox(intRow).Selected = True Then
Text1.Value = Me!YourListBox.Column(0, intRow)
Text2.Value = Me!YourListBox.Column(1, intRow)
Exit For
End If
Next intRow
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.