简体   繁体   中英

Excel Screen Updating to False Using ExcelDna

I am trying to set Excel Screen Updating to false using ExcelDna. I do not want to use COM. Using its XlCall is preferred. Can someone help?

You can use XlCall.xlcEcho to enable/disable screen updating. Eg:

// Disable screen updating
XlCall.Excel(XlCall.xlcEcho, false);

// Enable screen updating
XlCall.Excel(XlCall.xlcEcho, 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