ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   access the call stack? (https://www.excelbanter.com/excel-programming/406832-access-call-stack.html)

Mark

access the call stack?
 
is it possible to access the call stack in code?

What I mean is, if I write a subroutine into an Add-In (so that it can be
seperately secured from the rest of the code, for reasons I wish we didn't
need to deal with)

When I call a subroutine in that protected Add-In, is it possible to return,
in the code, the name of the calling routine?

It should be the next item up in the call stack.

Thanks.
Mark

Mark

access the call stack?
 
got my answer.... "No", but you can roll your own.

got it.

"mark" wrote:

is it possible to access the call stack in code?

What I mean is, if I write a subroutine into an Add-In (so that it can be
seperately secured from the rest of the code, for reasons I wish we didn't
need to deal with)

When I call a subroutine in that protected Add-In, is it possible to return,
in the code, the name of the calling routine?

It should be the next item up in the call stack.

Thanks.
Mark



All times are GMT +1. The time now is 02:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com