
Sub riporta_primi_dieci()
Dim i As Byte
Sheets("Foglio5").Activate
Columns("B:Z").Sort Key1:=Columns("Z"), _
Order1:=xlDescending, Header:=xlGuess
With Sheets("Foglio26")
For i = 1 To 10
.Cells(i + 1, 2) = Cells(i + 1, "B")
.Cells(i + 1, 3) = Cells(i + 1, "Z")
Next
.Select
End With
End Sub |
