Wauvel

Excel like a finance pro.

← The library

VBA · Performance

Application.ScreenUpdating

Stops the screen redrawing while code runs, a large speedup for anything that touches many cells.

Daily driverDifficulty 1100 · Proficient
Practice · 2 questions →

When to use it

Application.ScreenUpdating = False stops Excel redrawing while the macro runs. Anything that touches many cells, sheets, or formats runs several times faster with it off.

The code

Code
Application.ScreenUpdating = False
...
Application.ScreenUpdating = True

Worked examples

  • Speed up a macro

    Application.ScreenUpdating = False ... work ... Application.ScreenUpdating = True The screen freezes during the work, then refreshes once

    The standard bracket.

  • Restore on error

    On Error GoTo Done Application.ScreenUpdating = False ... Done: Application.ScreenUpdating = True Restored even on error

    Always restore.

  • The trio

    Application.ScreenUpdating = False Application.Calculation = xlCalculationManual Application.EnableEvents = False The full speed trio

    Restore all three at the end.

Worth knowing

  • Excel restores it automatically when the macro ends, but restore it explicitly anyway.
  • Combine with manual calculation for the biggest gains.
  • Do not turn it off while stepping through code, or you cannot see what is happening.

Where it goes wrong

  • Left False after an error, the screen looks frozen until something triggers a redraw.
  • MsgBox and UserForms still render.

Related

Learn the moves here — or let Wauvel run them on your numbers.

Meet your AI CFO →

One CFO-grade Excel tip a week

A short, practical email for finance operators — functions, shortcuts, and the moves that save an afternoon. Free, unsubscribe anytime.