[CODE=vb]Sub liste_Patty()
Dim t(), lig&, col, i&, a&, n&, v$
Feuil1.[e2].Resize(ActiveSheet.UsedRange.Rows.Count, 1).ClearContents
With Range("Tableau1").ListObject.DataBodyRange
For lig = 1 To .Rows.Count
a = a + 1: ReDim Preserve t(1 To a)
t(a) = .Cells(lig, 1) & " " & .Cells(lig, 3)
If .Cells(lig, 2) <> "" Then
v = .Cells(lig, 2): If Left(.Cells(lig, 2), 1) <> "/" Then v = "/" & .Cells(lig, 2)
col = Split(v, "/")
If UBound(col) > 1 Then
For i = 1 To UBound(col)
a = a + 1: ReDim Preserve t(1 To a)
t(a) = col(i) & " " & .Cells(lig, 3)
Next
Else
If (col(1) Like "*" & .Cells(lig, 1) & "*") Or (col(1) = .Cells(lig, 1) + 2) Then
a = a + 1: ReDim Preserve t(1 To a)
t(a) = col(1) & " " & .Cells(lig, 3)
Else
NbNum = (col(1) - .Cells(lig, 1)) / 2
Valn = .Cells(lig, 1).Value
For n = 1 To NbNum
a = a + 1: ReDim Preserve t(1 To a)
Valn = Valn + 2
t(a) = Valn & " " & .Cells(lig, 3)
Next
End If
End If
End If
Next
End With
Feuil1.[e2].Resize(UBound(t)) = Application.Transpose(t)
End Sub