Sub MaJbis()
Dim temp()
Dim n As Long, formule As String
Dim f, maliste, a, dest, c, j, k
Dim g
Set f = Feuil2
Set maliste = CreateObject("Scripting.Dictionary")
a = Range(f.[g2], f.[g65536].End(xlUp)).Value
For Each c In a
maliste(c) = ""
Next c
Set dest = Sheets("tableau").Range("b3")
dest.Resize(1, maliste.Count) = maliste.Keys
'ici scories enregisteur de macros
With ActiveWorkbook.Worksheets("tableau").Sort
.SetRange dest.Resize(1, maliste.Count)
.Header = xlGuess
.MatchCase = False
.Orientation = xlLeftToRight
.SortMethod = xlPinYin
.Apply
End With
Set maliste = Nothing 'libère maliste
Application.ScreenUpdating = True
End Sub