ì¸ê®Æ2500µ§¡A¸ü¤J6.6¬í¡A¦p¦óקïÁYµu°õ¦æ®É¶¡
Sub ¸ü¤J¸ê®Æ()
Dim arr, arr1, i, Time0#
Time0 = Timer
arr = ¤u§@ªí1.UsedRange
arr1 = Application.Transpose(Application.Transpose(arr))
For i = 1 To UBound(arr1)
¤u§@ªí3.Cells(i + 3, 1) = arr(i, 5)
¤u§@ªí3.Cells(i + 3, 2) = arr(i, 2)
¤u§@ªí3.Cells(i + 3, 3) = arr(i, 3)
¤u§@ªí3.Cells(i + 3, 4) = arr(i, 8)
¤u§@ªí3.Cells(i + 3, 5) = arr(i, 9)
¤u§@ªí3.Cells(i + 3, 6) = arr(i, 10)
¤u§@ªí3.Cells(i + 3, 7) = arr(i, 11)
¤u§@ªí3.Cells(i + 3, 8) = arr(i, 7)
¤u§@ªí3.Cells(i + 3, 9) = arr(i, 6)
¤u§@ªí3.Cells(i + 3, 10) = arr(i, 19)
¤u§@ªí3.Cells(i + 3, 11) = arr(i, 20)
¤u§@ªí3.Cells(i + 3, 12) = arr(i, 23)
¤u§@ªí3.Cells(i + 3, 13) = arr(i, 24)
Next i
MsgBox "°õ¦æ®É¶¡ " & Timer - Time0 & " ¬í", vbOKOnly
End Sub |