1 2 3 4 5 6 7 8 9 10
| Formule = "=COUNTIFS(Import_Semaine!R1C2:R" & DerLig_f2 & "C2,"">19"",Import_Semaine!R1C4:R" & DerLig_f2 & "C4,R28C)"
f1.Range(Cells(DerLig_f1 + 1, "B"), Cells(DerLig_f1 + 1, "C")).FormulaR1C1 = Formule
f1.Range(Cells(DerLig_f1 + 1, "B"), Cells(DerLig_f1 + 1, "C")).Value = f1.Range(Cells(DerLig_f1 + 1, "B"), Cells(DerLig_f1 + 1, "C")).Value
f1.Range(Cells(DerLig_f1 + 1, "D"), Cells(DerLig_f1 + 1, "E")).FormulaR1C1 = Formule
f1.Range(Cells(DerLig_f1 + 1, "D"), Cells(DerLig_f1 + 1, "E")).Value = f1.Range(Cells(DerLig_f1 + 1, "D"), Cells(DerLig_f1 + 1, "E")).Value
Set f1 = Nothing
Set f2 = Nothing
End Sub |
Partager