totn Excel 2011 VBA Debugging

MS Excel 2011 for Mac: Moving through VBA code

This Excel tutorial explains the options of how to move through the code in the VBA debugging environment in Excel 2011 (with screenshots and step-by-step instructions).

Choose how to move through your code

Your program is now suspended at the highlighted breakpoint. What's next?

Microsoft Excel

Now that you've suspended execution of your program in Excel 2011 and are in debug mode, you need to choose how to proceed through your code. We'll cover the 4 most common choices.

  1. Step Into
  2. Step Over
  3. Continue
  4. Halt

Let's look at each of these.