Sub Limitée()
Dim t, n
Application.ScreenUpdating = False
t = Timer
With [C2]
For n = 1 To 30000
.Formula = "=COUNTIF(A1:A3,1)"
Next
End With
MsgBox "Durée " & Format(Timer - t, "0.00 \sec")
End Sub
Sub Non_limitée()
Dim t, n
t = Timer
Application.ScreenUpdating = False
With [D2]
For n = 1 To 30000
.Formula = "=COUNTIF(A:A,1)"
Next
End With
MsgBox "Durée " & Format(Timer - t, "0.00 \sec")
End Sub