Bonjour
si tu veux calculer en Macro voila
Option Explicit
Public Function AGE(Date1 As Date, Date2 As Date) As String
Dim Datedebut As Long, Datefin As Long
Dim Elt As Long
Dim X As String, Y As String, z As String
Datedebut = Int(Date1): Datefin = Int(Date2)
If Datefin < Datedebut Then
AGE = "Date invalide"
Exit Function
End If
Elt = Evaluate("DATEDIF(" & Datedebut & "," & Datefin & ",""y""")
If Elt > 0 Then X = Elt & IIf(Elt > 1, " ans, ", " an, ")
Elt = Evaluate("DATEDIF(" & Datedebut & "," & Datefin & ",""ym""")
If Elt > 0 Then Y = Elt & " mois, "
Elt = Evaluate("DATEDIF(" & Datedebut & "," & Datefin & ",""md""")
If Elt > 0 Then z = Elt & IIf(Elt > 1, " jours", " jour")
AGE = X + Y + z
If Right(AGE, 2) = ", " Then AGE = Left(AGE, Len(AGE) - 2)
End Function
Cdlt