bonjour
en effet voici ma macro
calcul le total du matériel informatique
1 2 3 4 5 6 7 8 9
| Range("B2").Select
ActiveCell.FormulaR1C1 = "=COUNTIF('materiel info'!R2C5:R112C5,RC[-1])"
Range("B2").Select
Selection.AutoFill Destination:=Range("B2:B11"), Type:=xlFillDefault
Range("B2:B11").Select
Range("B12").Select
ActiveCell.FormulaR1C1 = "=SUM(R[-10]C:R[-1]C)"
Range("B13").Select
End Sub |
sur la ligne suivante
ActiveCell.FormulaR1C1 = "=COUNTIF('materiel info'!R2C5:R112C5,RC[-1])"
je souhaite aller à la fin mon tableau
Partager