Private Sub CommandButton1_Click()
Dim derlig As Long, i As Long, plage As Range
derlig = Range("B65536").End(xlUp).Row
Application.ScreenUpdating = False
'---Fusion des textes en colonne B---
For i = derlig To 2 Step -1
If Cells(i, 1) = "" Then
Cells(i - 1, 2) = Application.Trim(Cells(i - 1, 2) & " " & Cells(i, 2))
Cells(i, 2) = ""
End If
Next
'---suppression des lignes vides (facultatif)---
'Set plage = Range("A1:A" & derlig).SpecialCells(xlBlanks)
'If Not plage Is Nothing Then Intersect(plage.EntireRow, Range("A:B")).Delete xlUp
End Sub