Private Sub TextBox1_Change()
Dim ligne&, i&
For i = 2 To 9: Me.Controls("TextBox" & i) = "": Next
ligne = Application.IfError(Application.Match(CLng(CDate(TextBox1)), Sheets("MOIS").Columns(1).Value2, 0), 0)
If ligne = 0 Then
Beep
Else
For i = 2 To 8
Me.Controls("TextBox" & i) = Sheets("MOIS").Cells(ligne, i)
Next i
TextBox9 = Sheets("MOIS").Cells(ligne, 10)
End If
End Sub