Bonjour
En introduisant quelques boucles
Sub Totaux()
'Macro 2012m10
Dim J As Long
Sheets("Ouvrages").Select
For J = 2 To 24 Step 2
Cells(J, "H") = Cells(J + 1, "F") * Cells(J + 1, "G")
Next J
For J = 26 To 41 Step 3
Cells(J, "H") = Application.SumProduct((Range(Cells(J + 1, "F"), Cells(J + 2, "F"))), _
(Range(Cells(J + 1, "G"), Cells(J + 2, "G"))))
Next J
For J = 44 To 54 Step 2
Cells(J, "H") = Cells(J + 1, "F") * Cells(J + 1, "G")
Next J
For J = 56 To 84 Step 4
Cells(J, "H") = Application.SumProduct(Range(Cells(J + 1, "F"), Cells(J + 3, "F")), _
Range(Cells(J + 1, "G"), Cells(J + 3, "G")))
Next J
End Sub