Tabellab
Advanced

Arrays & Performance

Pull a whole range into memory, do the work there, and write it back in a single line — hundreds of times faster.

7 lessons 53 min Certificate

The first lesson is free — no account needed.

About this course

Cell-by-cell loops are why most macros are slow. With VBA arrays you read a whole range into memory, do the work there and write it back in a single line. The course also covers the Application switches, measuring with Timer and the common traps, ending with a working template.

Lessons

  1. Why Cell-by-Cell Loops Are SlowReading11 minFree
  2. Reading a Range into an ArrayReading7 min Pro
  3. Doing the Work in MemoryReading7 min Pro
  4. Writing Back in One ShotReading7 min Pro
  5. The Application SwitchesReading7 min Pro
  6. Measuring with TimerReading6 min Pro
  7. Common Traps and a Working TemplateReading8 min Pro