Sub Worksheet_Activate()
Application.ScreenUpdating = False
Cells.ClearContents
With Sheets("Calcul note")
DL = .[A65500].End(xlUp).Row
Range("A1:R" & DL - 1) = .Range("A2:R" & DL).Value
End With
[A:R].Resize(DL - 1).Sort key1:=[R1], order1:=xlDescending, Header:=xlYes
Rows("21:1000").Delete Shift:=xlUp
Columns("A:R").EntireColumn.AutoFit
End Sub