Famille de feuilles de calcul Microsoft avec des outils pour l’analyse, le graphique et la communication des données.
Bonjour,
Ajoute ce code :
Sub test()
Dim C As Range, Plage As Range
With Sheets("Concours")
Set Plage = .Range("B14", .Cells(.Rows.Count, 2).End(xlUp)).Resize(, 2)
End With
Application.EnableEvents = False
With Sheets("Repechage")
.Unprotect
Plage.Copy
.[B6].PasteSpecial xlPasteValues
.[B6].Resize(Plage.Rows.Count, 2).Sort .[B6], xlAscending, Header:=xlNo
.[B6].Resize(Plage.Rows.Count, 2).Borders.LineStyle = xlContinuous
.Protect
End With
Application.EnableEvents = True
End Sub
Cordialement.
Daniel