Does anybody know how to adapt this Code to a "listview box"?
VB Code:
Private Sub Text1_Change() Dim i As Integer For i = 0 To List1.ListCount - 1 If InStr(1, Left(List1.List(i), Len(Text1.Text)), Text1.Text, vbTextCompare) Then List1.Selected(i) = True: Exit For Next End Sub




Reply With Quote