0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Excel VBAのパフォーマンス改善

Posted at

コピー&ペーストは思っている以上に処理時間が掛かる

以下のサイトがとても参考になる
https://officedic.com/excel-vba-copy-paste-highspeed/
コピー元セルが数式を含んだものであったりするとより違いが出る

変更前
Cells(1, 1).Copy
Cells(2, 1).PasteSpecial
Cells(3, 1).PasteSpecial
Cells(4, 1).PasteSpecial
Cells(5, 1).PasteSpecial
変更後
Cells(1, 1).Copy
Range(Cells(2, 1), Cells(5, 1)).PasteSpecial
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?