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…       
 
 
Don’t want to miss out on other great information? Subscribe to this blog or our monthly eNewsletter now!
Learn More ◊ Contact us today ◊ Newsletter ◊
EnvisionCAD Group EnvisionCAD YouTube Channel   

 

EnvisionCAD

Since 1996, EnvisionCAD has been a nationally recognized leader in the configuration, customization, implementation, training & support for CAD software solutions. Our individualized approach has benefited private engineering firms and government agencies alike. Basic or advanced, we can help you get the most from your CAD technology.

Tags:

Leave a Reply

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