c'est exactement cela. Merci
Par contre, je ne comprends pas le code. tu peux m'expliquer ???
Car là , je galère pour l'adapter à mon fichier.
Sheets("REPORT").Range("A2:D" & Sheets("REPORT").Range("A" & Rows.Count).End(xlUp)(2).Row).Clear
With Sheets("Technique")
For Each Cel In .Range("H1:H" & .Range("H" & Rows.Count).End(xlUp).Row)
Cells(2, "B").Value = Cel.Value
With Sheets("REPORT")
For Each C In Range("B5:B" & Range("B" & Rows.Count).End(xlUp).Row)
If C.Value <> "" Then
Lgn = .Cells(Rows.Count, "A").End(xlUp)(2).Row
.Cells(Lgn, "A").Value = Cells(2, "B").Value
.Cells(Lgn, "B").Value = C.Value
.Cells(Lgn, "C").Value = C.Offset(0, 3).Value
.Cells(Lgn, "D").Value = C.Offset(0, 5).Value
End If
Next C
End With
Next Cel
End With
End Sub