Selected item in List View

How could I get the seleceted item(s) from a list view control as well which event is fired when an item is selected?
askmeaksAsked:
Who is Participating?
 
JR2003Connect With a Mentor Commented:
Private Function ProcessSelected()

Dim i As Long

With ListView1.ListItems
    For i = 1 To .Count
        If .Item(i).Selected Then
            'Put your code here for the selected item
        End If
    Next i
End With

End Function


The ItemClick event is fired when an item is selected.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.