Private Sub ComboBox1_Change()
If OkChange = False Then Exit Sub
ii = 0
Erase TabRecup
With Me
With .ComboBox1
StrSearch = IIf(.Text = "<< TOUS >>", "*" & UCase(Me.TextBox1.Text) & "*", UCase(.Text)) '.List(.ListIndex, 0)
End With
For L = 2 To UBound(Tablo, 1)
If UCase(Tablo(L, 1)) Like StrSearch Then
ii = ii + 1
ReDim Preserve TabRecup(9, ii)
For C = 1 To UBound(Tablo, 2)
TabRecup(C, ii) = Tablo(L, C)
Next
End If
Next L
For i = 1 To 9 'J'ai modifié l'emplacement de cette Boucle
.Controls("TxtB_" & i) = ""
Next i
With .ListBox1
.ColumnCount = 9
.Clear
If ii = 0 Then Exit Sub 'Ici on quitte après effacement (TextBox et ListBox) si pas de correspondance .
.Column = TabRecup
End With
End With
End Sub