简体   繁体   中英

Obtain excel calculation mode in ExcelDna

Is there a XlCall that can return me the current excel calculation mode? If it is automatic, I want to run an Async command, otherwise I want it to block.

GET.DOCUMENT ( xlfGetDocument ) option 14 is:

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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