excel vba - Is there a call stack level limit? -


Some of my colleagues are looking at some bad codes in Excel VBA, thinking that there is a limit in the number of levels a Call stack

Unless the function is tail-recursive and VBA can handle it Can not do), you will participate in a stack overflow.

As a simple test, I've hoped to snap the following snippet together:

  Slow calculation as count number (count) count = count + 1 cells ( 1, 1) = Counting R and all  

which tells us that at least 4007 iterations of this limit are in my 2007 edition.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -