Private Sub ComboBox_KeyPress(KeyAscii As Integer)
Timer1.Enabled = True End Sub Private Sub Timer1_Timer() On Error Goto Oops With ComboBox Kounter = 0 For Kounter = 0 To .ListCount If .Text = Left(.List(Kounter), Len(.Text)) Then OldLength = Len(.Text) .Text = .List(Kounter) .SelStart = OldLength .SelLength = Len(.Text) - OldLength Timer1.Enabled = False Goto Oops End If Next Kounter End With Oops: Timer1.Enabled = False End Sub |