User Defined Functions NOT recalculating

后端 未结 11 2065
渐次进展
渐次进展 2020-12-15 20:27

I recently took a large, stable XLSM file, and split it apart into an XLAM and XLSX. Thousands of cells in the XLSX call (udfs) functions in the XLAM, and each such udf beg

11条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 21:19

    Here is what I found. I haven't tested it but I believe there may be a work-around.

    This is a direct quote: "Excel depends on analysis of the input arguments of a Function to determine when a Function needs to be evaluated by a recalculation. "

    from http://www.decisionmodels.com/calcsecretsj.htm

    Here's what I'm going to try later today. I am going to generate a specific address of a table, dynamically within my function. Based on why we're here, I should not get an update should the value at the calculated address change.

    By including the whole table as a parameter, even without using the parameter, the function should update if anything in the table changes.

    In this way, your function hits the dependency tree regardless if you actually process the whole table.

提交回复
热议问题