VBAマクロ 高速化 レスポンス 速度アップ | 備忘録 (。・_・。)ノ

http://chiroinu.freehostia.com/wordpress/?p=231 

⑤「コピーした行の挿入」より行の挿入+コピぺの方が俄然早い 

http://excel-ubara.com/excelvba4/EXCEL228.html 

テスト項番 所要時間 高速化・速度対策内容
test1
46秒
シートやセルをSelectしている最悪のVBA
test2
10秒
Application.ScreenUpdating =False を追加
test3
3.03秒
シートやセルをSelectを止める
test4
3.01秒
Application.Calculation = xlCalculationManual を追加
test5
3.01秒
変数の型宣言を追加
test6
2.81秒
WithステートメントでWorksheetsを指定
test7
2.65秒
すべてオブジェクト変数に変更
test8
0.53秒
セルの書式設定を一括で設定
test9
0.35秒
何度も使うセル値(検索値)を変数に入れる
test10
0.22秒
複数セル値を1行分まとめて入れる
test11
0.08秒
配列の使用