Re : Trier une plage avec une macro
Salut Caninge,
la réponse est en rouge ... modifie la cellule B6 par B1 si ta base commence en B1 ..
@+
RICO
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[/QUOTE]