0
私に説明してください。なぜ、2番目の変種がより速いのですか?なぜ変化の変種に大きな差があるのですか?
iTimer! = Timer
sname = Split(Cells(2, 300).Address, "$")(1)
Range("A300:" & sname & "600").Value2 = Range("A300:" & sname & "600").Value2
MsgBox "Time is " & _
Timer - iTimer! & " sec.", vbExclamation, ""
〜1秒
iTimer! = Timer
sname = Split(Cells(2, 300).Address, "$")(1)
Range("A1:" & sname & "300").Select
Range("A300:" & sname & "600").Value2 = ActiveCell.Value2
MsgBox "Time is " & _
Timer - iTimer! & " sec.", vbExclamation, ""
は私にとって第一の変異体を〜0.01秒