Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Row < 5 Then Exit Sub
Dim c As Range
Cancel = True
With Sheets("BDD")
With .Range("A" & .Rows.Count).End(xlUp)(2)
.Resize(, 4) = Intersect(Target.EntireRow, [C:F]).Value 'copie uniquement les valeurs
If .Value <= 0 Then .Value = "."
For Each c In .Resize(, 4): c = UCase(c): Next 'majuscules
End With
.[A1].CurrentRegion.Sort .[B1], xlAscending, Header:=xlYes 'tri sur les sociétés
.Activate 'facultatif
End With
End Sub