I want applied my formula in some cell in my board, but when I want to apply another formula for the total, the columns are recalculated and the formula I applied for the total is applied to all the cells.
Sub ...
Application.Calculation = xlCalculationManual
Application.CutCopyMode = False
ActiveSheet.ListObjects.Add(xlSrcRange, Range("$I$3:$P$18"), , xlYes).Name = _
"Tableau4"
Range("Tableau4[[#Headers],[Colonne2]]").Select
ActiveCell.FormulaR1C1 = "VB"
Range("Tableau4[[#Headers],[Colonne3]]").Select
ActiveCell.FormulaR1C1 = "Oui"
Range("Tableau4[[#Headers],[Colonne4]]").Select
ActiveCell.FormulaR1C1 = "Non"
...
Range("M17").Select
ActiveCell.FormulaR1C1 = "=SUM(R[-13]C:R[-1]C)"
Range("M18").Select
ActiveCell.FormulaR1C1 = ""
Range("N17").Select
ActiveCell.FormulaR1C1 = "=IF(RC[-4]=0,0,RC[-3]/RC[-4])"
Range("N18").Select
Range("O19").Select
Sheets("Feuil13").Select
ActiveCell.FormulaR1C1 = "=IF(RC[-5]=0,0,RC[-3]/RC[-5])"
End Sub
Apllying the farmula Application.Calculation = xlCalculationManual
, Don't work in my code. And I can not disable the automatic calculation I feel, because I already apply it on other sheets. In any case, disable it still does not work.