Range("A_Début_Tri").Select
ActiveSheet.Unprotect
Heures = ActiveSheet.Name
Range("A_Début_Tri:AA_Fin_Tri").Select
ActiveWorkbook.Worksheets(Heures).Sort.SortFields.Clear
ActiveWorkbook.Worksheets(Heures).Sort.SortFields.Add Key:=Range("A_Début_Tri:A_Fin_Tri") _
, SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
ActiveWorkbook.Worksheets(Heures).Sort.SortFields.Add Key:=Range("J_Début_Tri:J_Fin_Tri") _
, SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets(Heures).Sort
.SetRange Range("A_Début_Tri:AA_Fin_Tri")
.Header = xlGuess
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("A_Début_Tri").End(xlDown).Offset(1, 0).Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
End Sub