G
Gerard
I've got a general debugging question. Basically the
question/problem is this. I've got a function that I can
call from code (say a from sub) or directly from Excel
passing range objects etc. When I run the function from
code by directly running a sub that calls the function and
something goes wrong, the debugger gives me an error
message and points me to the problem. When I run the
function by evaluating a formula in excel it just stops on
errors with no help what so ever. The only way to figure
out where the problem occurs is to step through and
remember the step just before the code stops running.
Also, no message box is given. Is there a way to get the
debugger to be more helpful for code called from excel?
Also, setting the option for stop on unhandled errors does
not seem to affect code called from an excel formula.
Basically, I'm just looking for some sort of explaination
of what the difference is.
Thanks in advance,
Gerard
question/problem is this. I've got a function that I can
call from code (say a from sub) or directly from Excel
passing range objects etc. When I run the function from
code by directly running a sub that calls the function and
something goes wrong, the debugger gives me an error
message and points me to the problem. When I run the
function by evaluating a formula in excel it just stops on
errors with no help what so ever. The only way to figure
out where the problem occurs is to step through and
remember the step just before the code stops running.
Also, no message box is given. Is there a way to get the
debugger to be more helpful for code called from excel?
Also, setting the option for stop on unhandled errors does
not seem to affect code called from an excel formula.
Basically, I'm just looking for some sort of explaination
of what the difference is.
Thanks in advance,
Gerard