با کمک این کد می تونید هر متین که در تکست باکس تایپ کردین به صورت خودکار در لیست باکس انتخاب بشه
به همراه فایل نمونه
Private Sub TextBox1_Change() Dim i As Long Dim sFind As String sFind = Me.TextBox1.Text If Len(sFind) = 0 Then Me.ListBox1.ListIndex = -1 Me.ListBox1.TopIndex = 0 Else For i = 0 To Me.ListBox1.ListCount - 1 If UCase(Left(Me.ListBox1.List(i), Len(sFind))) = UCase(sFind) Then Me.ListBox1.TopIndex = i Me.ListBox1.ListIndex = i Exit For End If Next i End If End Sub



کامنت