Skip to Main Content

VBA Tip: Call Stack

Written by Rod Wing.

 

When in break mode, selecting the Call Stack button in the Debug toolbox displays the Call Stack window. The call stack window displays the subs/functions called in sequence to get to the current line of code.

Call Stack

The current function is displayed at the top of the listing.

Call Stack

This is very useful in determining how your macro got the current line of code.

 

Last Month’s Tips:


2   ScreenShot    Mask1   2

MicroStation: Mouse              InRoads: RWK File                   AutoCAD Civil 3D:                    VBA: Variable Declaration
Mechanics                                                                                       Mask or Boundary? Wha…       

 

Leave a Reply

Your email address will not be published. Required fields are marked *