Sub ChoixOnglets()
With ListWindows
Dim Plage(), PlageOut(), Buffer, N%, x%, i%, j%
N = Application.CountIf([1:1], "*")
Plage = Range(Cells(1, 1), Cells(1, N))
ReDim PlageOut(N)
' Tri alpha descendant
For i = 1 To N
For j = 1 To N
If Plage(1, i) < Plage(1, j) Then
Buffer = Plage(1, i)
Plage(1, i) = Plage(1, j)
Plage(1, j) = Buffer
End If
Next j
Next i
' Transfert matrice pour passer double colonne en une seule
For x = 1 To N
PlageOut(x - 1) = Plage(1, x)
Next x
' Mise dans ListBox
.ListeOnglets.List = PlageOut
.ListeOnglets.ListIndex = 0
.Show
End With...