Sub act_52_v2()
Dim DernLigne&, Lignecalcul$
DernLigne = Range("A" & Rows.Count).End(xlUp).Row
Lignecalcul = DernLigne - 2
Range("D" & DernLigne) = "=((SUBTOTAL(109,R6C:R" & Lignecalcul & "C))*1.06)/2"
MsgBox "Le total des heures a été recalculé à l'activité 52", vbInformation, "Résultats"
End Sub