是否可以关闭Application.Volatile或在特定范围/工作簿中运行?我在代码功能中使用了以下代码:
Function Eval(Ref As String)
Application.Volatile
Eval = Application.ThisCell.Parent.Evaluate(Ref)
End Function
我尝试了Application.Volatile(错误),但没有帮助
答案 0 :(得分:0)
赞:
Function Eval(Ref As String)
Application.Volatile False
Eval = Application.ThisCell.Parent.Evaluate(Ref)
End Function
MS参考文档: https://docs.microsoft.com/en-us/office/vba/api/excel.application.volatile