re-bonjour,
merci pour tes explications !
voici ce que propose ma boule cristal
Sub aargh()
With Sheets("feuil1")
dl = .Cells(Rows.Count, 2).End(xlUp).Row + 5
For i = dl To 1 Step -1
If .Cells(i, 2) < 100 Then
dc = .Cells(i, Columns.Count).End(xlToLeft).Column
If dc = 1 Then
Rows(i).Delete shift:=xlUp
Else
t = .Cells(i, 1).Resize(, dc)
.Cells(i, 1).Resize(, dc).ClearContents
For j = dc To 1 Step -1
n = t(1, j)
col = Int(n / 10) + 2
.Cells(i, col) = n
Next j
End If
End If
Next i
End With
End Sub