Sub TEST()
Dim R&, i&, xH As Range
Sheets("Sheet2").UsedRange.Clear
Set xH = [Sheet2!A1]
With Sheets("Sheet1")
.[1:2].Copy xH
Set xH = xH(3)
For i = 7 To .UsedRange.Rows.Count Step 5
.Rows(i).Copy xH
Set xH = xH(2)
Next
End With
End Sub作者: yaya1986 時間: 2016-5-3 11:27