Can somebody explain/clarify this behavior for me?
I have a UDF in cell AK3 (as well as many other calls to same UDF). So, i set a watchpoint to break if parent.caller.address="$AK$3". I change the cell formula in AK3, and it hits the watch value and breaks. This workbook is large, and the recalc takes a few minutes, but eventually ends. When the watch point break is hit, i set a breakpoint at the "End Function" line, continue execution forward to that line, and in the immediate window, use ?function_name to see the value of the function. It seems correct.
But, when i get back to the sheet after recalc completes, the cell value is NOT the same as the value i saw in the immediate window for the function value.
What could possibly be changing? The watch point is not hit again, so how is the end resultant value that ends up in the sheet cell, not the same as what i see in the immediate window?
Appreciate any explanation/clarification!
Thanks,
tom
I have a UDF in cell AK3 (as well as many other calls to same UDF). So, i set a watchpoint to break if parent.caller.address="$AK$3". I change the cell formula in AK3, and it hits the watch value and breaks. This workbook is large, and the recalc takes a few minutes, but eventually ends. When the watch point break is hit, i set a breakpoint at the "End Function" line, continue execution forward to that line, and in the immediate window, use ?function_name to see the value of the function. It seems correct.
But, when i get back to the sheet after recalc completes, the cell value is NOT the same as the value i saw in the immediate window for the function value.
What could possibly be changing? The watch point is not hit again, so how is the end resultant value that ends up in the sheet cell, not the same as what i see in the immediate window?
Appreciate any explanation/clarification!
Thanks,
tom