Private Sub Worksheet_Change(ByVal Target As Range)
Dim tablo, i&, x$, n As Byte, y$, j%
With [A1].CurrentRegion.Resize(, 2)
tablo = .Value 'matrice, plus rapide
For i = 2 To UBound(tablo)
x = tablo(i, 1)
tablo(i, 2) = "" 'RAZ
n = 0
For j = 1 To Len(x)
y = Mid(x, j, 1)
If IsNumeric(y) Then
n = n + 1
tablo(i, 2) = tablo(i, 2) & y
If n = 2 Then
If Left(tablo(i, 2), 1) = "0" Then tablo(i, 2) = "'0" & y
Exit For
End If
End If
Next j, i
'---restitution---
Application.EnableEvents = False 'désactive les évènements
.Value = tablo
Application.EnableEvents = True 'réactive les évènements
End With
End Sub