Equivalent to Application.ScreenUpdating Property in office-js Excel add-in

牧云@^-^@ 提交于 2019-12-11 02:37:37

问题


I am inserting a lot of data into a sheet and the screen flickers when doing so. In VBA and com add-ins there's a property I can set to delay the updates until they're finished.

Is there an equivalent to Application.ScreenUpdating Property in office-js add-ins for excel?


回答1:


There is no equivalent for it in Office.js -- not yet, at any rate. There are a number of technical issues that prevent this (FWIW, if you're curious, try toggling ScreenUpdating in VBA while you have a taskpane open; you'll see what I mean).

There are some longer-term ideas that may help with this issue, but to be very transparent, I would expect that it's months and months away. That said, I do encourage you to file a suggestion on https://officespdev.uservoice.com/ (or search if one already exists) and describe your scenario and/or link to a video of the issue you're currently seeing, so we can get it up on folks' radar.



来源:https://stackoverflow.com/questions/41966422/equivalent-to-application-screenupdating-property-in-office-js-excel-add-in

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!