Tri VBA sur critères multiples
Résolu
steph92500
Messages postés
2
Date d'inscription
Statut
Membre
Dernière intervention
-
steph92500 Messages postés 2 Date d'inscription Statut Membre Dernière intervention -
steph92500 Messages postés 2 Date d'inscription Statut Membre Dernière intervention -
A voir également:
- Tri VBA sur critères multiples
- Comment faire un tri personnalisé sur excel - Guide
- Logiciel tri photo - Guide
- Excel compter cellule couleur sans vba - Guide
- Vba attendre 1 seconde ✓ - Forum VB / VBA
- En cours de traitement sur le site de tri local - Forum Consommation & Internet
2 réponses
Bonjour,
Avec Key1, Key2 etc.. je connais pas ?
Essaye avec..
A+
Avec Key1, Key2 etc.. je connais pas ?
Essaye avec..
With Sheets("Feuil1") .Sort.SortFields.Clear .Sort.SortFields.Add Key:=Range("H10:H1000"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal .Sort.SortFields.Add Key:=Range("T10:T1000"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal .Sort.SortFields.Add Key:=Range("V10:V1000"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal .Sort.SortFields.Add Key:=Range("X10:X1000"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal .Sort.SortFields.Add Key:=Range("Z10:Z1000"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal .Sort.SortFields.Add Key:=Range("AB10:AB1000"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal .Sort.SortFields.Add Key:=Range("AD10:AD1000"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal With .Sort .SetRange Range("H10:AD1000") .Header = xlGuess .MatchCase = False .Orientation = xlTopToBottom .SortMethod = xlPinYin .Apply End With End With
A+