简体   繁体   English

ExcelDna中获取excel计算方式

[英]Obtain excel calculation mode in ExcelDna

Is there a XlCall that can return me the current excel calculation mode?是否有 XlCall 可以返回我当前的 excel 计算模式? If it is automatic, I want to run an Async command, otherwise I want it to block.如果它是自动的,我想运行一个异步命令,否则我希望它阻塞。

GET.DOCUMENT ( xlfGetDocument ) option 14 is: GET.DOCUMENT ( xlfGetDocument ) 选项 14 是:

14 Number indicating calculation mode:
    1 = Automatic 
    2 = Automatic except tables 
    3 = Manual

You'll only be able to call this from a UDF that has been marked as IsMacroType=true .您只能从标记为IsMacroType=true的 UDF 中调用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM