flo2002
XLDnaute Impliqué
Je suis à bout j'ai essayer tout un tas de code mais en vain.
Je n'arrive pas à faire un trie avec pour base une colonne B mais dont la plage n'est pas continu.
code actuel:
Range('b9:fw300').Select
Selection.Sort Key1:=Range('B9'), Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
et je voudrais que ca ressemble à ca:
Range('b9:d300, g9:g300,etc').Select
Selection.Sort Key1:=Range('B9'), Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
merci de votre aide par avance
Je n'arrive pas à faire un trie avec pour base une colonne B mais dont la plage n'est pas continu.
code actuel:
Range('b9:fw300').Select
Selection.Sort Key1:=Range('B9'), Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
et je voudrais que ca ressemble à ca:
Range('b9:d300, g9:g300,etc').Select
Selection.Sort Key1:=Range('B9'), Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
merci de votre aide par avance