C'est assez bluffant gmb !
Je coince depuis un moment...
Pourrait on borner la plage de A7 à CY520 dans ta macro ?
Sub Ventiler()
Application.ScreenUpdating = False
derln = Range("A" & Rows.Count).End(xlUp).Row
For ln = derln To 4 Step -1
nb = WorksheetFunction.CountIf(Rows(ln & ":" & ln), "X")
If nb > 1 Then
dercol = Cells(ln, Columns.Count).End(xlToLeft).Column
Rows(ln + 1 & ":" & ln + 1 + nb - 2).Insert
num = 1
For j = 2 To dercol
If Cells(ln, j) = "X" Then
If num > 1 Then
Cells(ln + num - 1, 1) = Cells(ln, 1)
Cells(ln + num - 1, j) = Cells(ln, j)
Cells(ln, j) = ""
Else
End If
num = num + 1
End If
Next j
End If
Next ln
End Sub