Option Explicit
Sub Tableaux()
Dim Tb(), Tb1(), Tb2(), i%, j%, n%
DL = Application.Max(Range("H65500").End(xlUp).Row, 2)
Range("H2:K" & DL).ClearContents
Application.ScreenUpdating = False
With Feuil1.Range("A2:F" & Cells(Rows.Count, 1).End(xlUp).Row)
Tb = Application.Index(.Value, Evaluate("row(1:" & .Rows.Count & ")"), Array(1, 2, 5, 6))
End With
'''''''''''''''''''''''''''''''
For i = 1 To UBound(Tb)
If Tb(i, 3) = "B" Or Tb(i, 3) = "D" Then
n = n + 1
ReDim Preserve Tb1(1 To 4, 1 To n)
For j = 1 To 4
Tb1(j, n) = Tb(i, j)
Next j...