Bonjour,
dans tes modules de vérif remplace ton code
Sheets("POIDS").Select
i = 2
'boucle remplissage tableau
Do While Cells(i, 3) <> ""
If Cells(i, 3) <> "" Then i = i + 1
Loop
Cells(i, 1) = TextBox140.Value 'date
par celui-ci
Sheets("POIDS").Select
i = 3
'boucle remplissage tableau
d = DateSerial(Right(TextBox140, 2), Mid(TextBox140, 4, 2), Left(TextBox140, 2))
Do While Cells(i, 1) <> ""
If Cells(i, 1) = d Then Exit Do
If Cells(i, 1) <> "" Then i = i + 1
Loop
Cells(i, 1) = d 'date
et remplace cette sub
Private Sub UserForm_Activate()
TextBox140 = date
End Sub
par
Private Sub UserForm_Activate()
TextBox140 = Format(Date, "DD/MM/YY")
End Sub