Bonjour,
Si j'ai bien compris la demande ...
Sub PieceCentraleAIDA()
'
'-------------------------------------------------------------------------------------------------------
'VERIFICATION DES VALEURS OK
'COLONNE G
Dim x As Byte
For x = 7 To 37 '( colonne G à AK )
Cells(5, x).FormulaR1C1 = _
"=nb_si_couleur(R[7]C:R[495]C,no_couleur(R7C3))+nb_si_couleur(R[7]C:R[495]C,no_couleur(R5C3))"
Cells(6, x).FormulaR1C1 = "=nb_si_couleur(R[6]C:R[494]C,no_couleur(R6C3))"
Next x
End Sub
ric