Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Dim i&, rh#, w#, c As Range, resu$
Cancel = True
For i = 1 To Selection.Rows.Count
rh = rh + Target.Rows(i).RowHeight
Next
w = Target.Width
Application.ScreenUpdating = False
With Workbooks.Add.Sheets(1).[A1] 'document auxiliaire
Target.Copy .Cells
.UnMerge
.RowHeight = rh
.Columns.AutoFit 'ajuste la largeur
resu = IIf(.Width <= w + 3, "On voit tout", "On ne voit pas tout")
End With
ActiveWorkbook.Close False
MsgBox resu
End Sub