By using vba.booksticle.com you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

948 Steps to 6 Figures by Learning Excel-VBA and Other Skills



Step 703 - Call Stack


This is part of Debugging your code.


Stack

A Stack is a data processing term that comes from a stack of dishes aka LIFO (Last In First Out).

When VBA routine calls a routine that calls a routine, the VBA code uses a Stack to keep track of where to return to.  

The Call Stack is only available while your code is paused in the debugger.


Ctrl L or View > Call Stack



You see a list of the sub routines that were called. The top is the current one, but you can Show any one listed and it will bring you to the code that called the subroutine.

A green arrow will highlight where the code came from like below.






   Table of Contents | Send us your feedback | © 2025 All Rights Reserved | Edit