Caninge
XLDnaute Accro
Bonjour
Je viens de faire une macro pour trier une plage.
mais cette macro trie la plage à partir de la cellule B7
je me demande bien pourquoi.
Merci de bien vouloir m'éclairer.
Sub Pays()
Application.ScreenUpdating = False
Range("Plage").Select
Selection.Sort Key1:=Range("B6"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
Application.ScreenUpdating = True
Range("A1").Select
End Sub
Je viens de faire une macro pour trier une plage.
mais cette macro trie la plage à partir de la cellule B7
je me demande bien pourquoi.
Merci de bien vouloir m'éclairer.
Sub Pays()
Application.ScreenUpdating = False
Range("Plage").Select
Selection.Sort Key1:=Range("B6"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
Application.ScreenUpdating = True
Range("A1").Select
End Sub