bonjour
je fais un tri sur 6 colonnes actuellement, il m'en faudrait 2 de plus,çi dessous le tri que j'utilises si je mets 2 colonnes de plus G et H,aurai-je des problemes.
Sub triabc1()
Range("A2:T900").Sort Key1:=Range("D3"), Order1:=xlAscending, Key2:=Range( _
"E3"), Order2:=xlAscending, Key3:=Range("F3"), Order3:=xlAscending, _
Header:=xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:= _
xlTopToBottom, DataOption1:=xlSortNormal, DataOption2:=xlSortNormal, _
DataOption3:=xlSortNormal
Range("A2:T900").Sort Key1:=Range("A3"), Order1:=xlAscending, Key2:=Range( _
"B3"), Order2:=xlAscending, Key3:=Range("C3"), Order3:=xlAscending, _
Header:=xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:= _
xlTopToBottom, DataOption1:=xlSortNormal, DataOption2:=xlSortNormal, _
DataOption3:=xlSortNormal
End Sub
merci
je fais un tri sur 6 colonnes actuellement, il m'en faudrait 2 de plus,çi dessous le tri que j'utilises si je mets 2 colonnes de plus G et H,aurai-je des problemes.
Sub triabc1()
Range("A2:T900").Sort Key1:=Range("D3"), Order1:=xlAscending, Key2:=Range( _
"E3"), Order2:=xlAscending, Key3:=Range("F3"), Order3:=xlAscending, _
Header:=xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:= _
xlTopToBottom, DataOption1:=xlSortNormal, DataOption2:=xlSortNormal, _
DataOption3:=xlSortNormal
Range("A2:T900").Sort Key1:=Range("A3"), Order1:=xlAscending, Key2:=Range( _
"B3"), Order2:=xlAscending, Key3:=Range("C3"), Order3:=xlAscending, _
Header:=xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:= _
xlTopToBottom, DataOption1:=xlSortNormal, DataOption2:=xlSortNormal, _
DataOption3:=xlSortNormal
End Sub
merci