挥发性Excel函数和在其上使用Restuate()的VBA UDF之间的性能有何不同?
我有一个不寻常的用例 - 我们有一个计算规则表和另一个表格,可以查找该表以进行计算。因此,我们进行Xlookup返回公式,然后执行公式。
例如,我有一个称为execute_formula()的VBA UDF,
Function Execute_Formula(Formula As String)
Execute_Formula = Evaluate(Formula)
End Function
我如何看到execute_formula(“ a1”)比间接(“ a1”)的速度更慢?
I have an unusual use case -- we have a table of calculation rules and another table that looks up that table in order to make calculations. So we do an XLOOKUP that returns a formula, and then we execute the formula.
For example, I have a VBA UDF called execute_formula()
Function Execute_Formula(Formula As String)
Execute_Formula = Evaluate(Formula)
End Function
How would I see how much slower Execute_Formula("A1") is than INDIRECT("A1")?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论