This slight modification will give you the names for selected items in the the bound column in the listbox
I've moved the message box out of the loop and replaced + with & vbCrlf
Code:
Sub Command1_Click()
Dim varitem As Variant
Dim strsearch As String
For Each varitem In List21.ItemsSelected
strsearch = strsearch & vbCrLf & Me.List21.ItemData(varitem)
Next varitem
MsgBox strsearch, vbInformation, "Selected listbox items"
End Sub
That will give you a single message with each item selected on a separate line
Alternatively use this to print to the Immediate window
Code:
Debug.Print strSearch