Sub Récup()
'
Dim TabData() As Variant
Dim Fin As Long, i As Long, j As Long
Dim deb As Long 'timer
Application.ScreenUpdating = False
deb = Timer
With Sheets("Détail")
Fin = .UsedRange.Rows.Count
TabData = .Range("A1:M" & Fin).Value ' On récupère la première ligne de titres
End With
For i = LBound(TabData, 1) To UBound(TabData, 1)
If TabData(i, 13) = "" Then
For j = LBound(TabData, 2) To UBound(TabData, 2)
TabData(i, j) = ""
Next j
End If
Next i
MsgBox "Durée construction du tableau résultat r = " & Format(Timer - deb, "0.0000\ sec.")
With Sheets("Test")
.Range("A1").Resize(UBound(TabData, 1), UBound(TabData, 2)) = TabData
.Range("A1").Resize(UBound(TabData, 1), UBound(TabData, 2)).Columns(4).SpecialCells(xlCellTypeBlanks).EntireRow.Delete
End With
End Sub