Sub Effacer_FindFormat()
Dim t
t = Timer
Application.FindFormat.Clear
Application.FindFormat.Locked = False
Cells.Replace "*", "", SearchFormat:=True
Application.FindFormat.Clear
MsgBox "Effacement en " & Format(Timer - t, "0.00 \s"), , "FindFormat" 'chez moi => 14,2 s
End Sub
Sub Effacer_tableau()
Dim t, P As Range, cc%, tablo, i&, j%
t = Timer
If ActiveSheet.FilterMode Then ActiveSheet.ShowAllData 'si la feuille est filtrée
Set P = ActiveSheet.UsedRange
cc = P.Columns.Count
tablo = P.Resize(P.Rows.Count + 1).Formula 'au moins 2 éléments
For i = 1 To UBound(tablo) - 1
For j = 1 To cc
If Not P(i, j).Locked Then tablo(i, j) = ""
Next j, i
ActiveSheet.UsedRange = tablo
MsgBox "Effacement en " & Format(Timer - t, "0.00 \s"), , "Tableau" 'chez moi => 1,8 s
End Sub