I have the following macrowhich if I do manually through edit links works fine but when I run it as a macro and F8 through it it gets to "ActiveWorkbook.ChangeLink vLink, ThisWorkbook.Name, xlExcelLinks" and then tries to run through the addins UDFs but with no values and it crashes out.Please Login or Register to view this content.
e.g. one of my UDFs isand it will start stepping through this with the input variables being location = error 2015 & mass = 2023Please Login or Register to view this content.
what is excel trying to do?
If I expand the variables in locals it looks as if excel upon changing the link in the first cell tries to recalculate it however it hasn't yet updated the links in the second cell (which is an input in the first cell) and falls over.
does the link change go through 1 cell at a time and trigger calc manual on each cell change? but then you does this not fall over when using the edit ribbon edit links button (as it is the UDF that is falling over from this)? is there a way to totally disable calculations temporarily to get around this?
Bookmarks