Sub Ajouteruneligneventes()
Dim lig As Long
ActiveSheet.Unprotect 'si mot de pass--> Activesheet.unprotect "ton password" sans "
lig = Cells(Rows.Count, 1).End(xlUp).Row + 1
'Cells(lig, 1) = Cells(lig - 1, 1) + 1
Cells(lig, 2) = Date
Cells(lig, 3).Select
ActiveSheet.Protect
End Sub