Bonjour Hosni Nad le forum
bon alors pour le récap de toutes les feuilles voilà
a+
Papou
Option Explicit
Option Base 1
Option Compare Text
Sub récap()
Dim i&, a&, col&, aa As Variant, bb As Variant, sh As Worksheet, cel As Range, fin&, col1&, col2&
col2 = Feuil1.Cells(9, Columns.Count).End(xlToLeft).Column
aa = Feuil1.Range("A10:L" & Feuil1.Range("A" & Rows.Count).End(xlUp).Row)
For Each sh In Worksheets
If sh.Name <> "Délais de Livraison" Then
col = sh.Cells(7, Columns.Count).End(xlToLeft).Column
fin = sh.Range("A" & Rows.Count).End(xlUp).Row
bb = sh.Range(sh.Cells(7, 1), sh.Cells(fin, col))
Set cel = Feuil1.Range(Feuil1.Cells(9, 5), Feuil1.Cells(9, col2)).Find(sh.Name)
If Not cel Is Nothing Then col1 = cel.Column Else GoTo 1
For i = 1 To UBound(aa)
For a = 1 To UBound(bb)
If aa(i, 1) = bb(a, 1) Then aa(i, col1) = bb(a, 7) & " " & bb(a, 13)
Next a
Next i
End If
1 Next sh
Feuil1.Range("A10:L" & Feuil1.Range("A" & Rows.Count).End(xlUp).Row).Clear
Feuil1.Range("A10").Resize(UBound(aa), UBound(aa, 2)) = aa
Feuil1.Columns("E:M").AutoFit
End Sub