Sub BoutonColonnesA()
Dim TabAcomptes, i&, x$
TabAcomptes = Feuil1.Range("A5", Feuil1.Range("A" & Rows.Count).End(xlUp)).Resize(, 2)
For i = 1 To UBound(TabAcomptes)
If TabAcomptes(i, 2) = "D231201" Then x = x & " - " & TabAcomptes(i, 1)
Next
Feuil1.Range("B17") = Mid(x, 4)
End Sub