LoginSignup
1
0

More than 5 years have passed since last update.

ExcelVBA // 更新を止めたり再開したり

Posted at

マクロの処理中に画面の更新や再計算が入ると処理が重くなったりするので、
画面の切り替わりを見る必要ないプロシージャにはこれを仕込むようにしてます

更新停止.vba
Application.Calculation = xlCalculationManual
Application.ScreenUpdating = False
更新再開.vba
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
1
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
1
0