bonjour
comment classer alphabétiquement plusieurs colonnes séparément en partant de ce code
qui marche pour une seule merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 Sub alphabetique() ' ' classement alphabetique feuille list ' ' Range("a2:a14").Select ActiveWorkbook.Worksheets("List").Sort.SortFields.Clear ActiveWorkbook.Worksheets("List").Sort.SortFields.Add Key:=Range("a2:a25"), _ SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal With ActiveWorkbook.Worksheets("List").Sort .SetRange Range("a2:a25") .Header = xlGuess .MatchCase = False .Orientation = xlTopToBottom .SortMethod = xlPinYin .Apply End With End Sub
Partager