Dim i as Long, sStr as String
sStr = ""
for i = 0 to listbox1.listcount - 1
if listbox1.selected(i) = True then
sStr = sStr & listbox1.list(i) & vbNewline
end if
Next
msgbox sStr
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.