Option Explicit
Option Base 0
' Test plus court
Sub test1()
Dim Montab As Variant, cmpt1 As Long, cmpt2 As Long, MacroDebut
'On Error GoTo Erreur
MacroDebut = Now
Montab = Range("A1:J65000").Value
For cmpt1 = LBound(Montab, 1) To UBound(Montab, 1)
For cmpt2 = LBound(Montab, 2) To UBound(Montab, 2)
Montab(cmpt1, cmpt2) = Montab(cmpt1, cmpt2) * 2 + 3
Next cmpt2
Next cmpt1
Range("A1:J65000").Value = Montab
MsgBox "Durée d'exécution: " & Format(Now - MacroDebut, "hh:mm:ss") '00:00:03
'Erreur:
'MsgBox "Une erreur est survenue..."
End Sub