Bonjour pierrot, j'ai un petit soucis.
j'ai voulu déplacer le boton de commande ou j'ai affecté la macro:
Sub Triage()
Range("A1:F200").Select
ActiveWorkbook.Worksheets("Feuil1").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("Feuil1").Sort.SortFields.Add Key:=ActiveCell.Range _
("A1:A200"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:= _
xlSortNormal
With ActiveWorkbook.Worksheets("Feuil1").Sort
.SetRange ActiveCell.Range("A1:F200")
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("A1").Select
End Sub
Le bouton se trouve en feuil11 et le triage a faire est en feuil5 es ce possible?
Merci