Determining whether function called by Excel or VBA
Another one I cannot seem to figure out..
I'm trying to determine within a function whether it has
been called directly from Excel or from another VBA
sub/function. I've tried looking for ways to access the
call stack, but have had no luck.
Does anybody have any clues on this one?
Thanks in advance,
Ryan
|