ScreenUpdating = False fails in Excel 2013 and 2016

后端 未结 4 1826
礼貌的吻别
礼貌的吻别 2021-01-18 01:23

Long-running, high-end Excel-based applications that I developed years ago and that run beautifully in Excel 2007 and 2010 look like Amateur Hour in Excel 2013 and 2016 beca

4条回答
  •  星月不相逢
    2021-01-18 01:57

    I wanted to leave a comment but I am not allowed to do so. Without a code sample it is very dificult to understand your problem (please see https://stackoverflow.com/help/how-to-ask and edit your question appropriately.

    Here are some ideas: - Check if your code calls for code in a different procedure, maybe the Application.ScreenUpdating is turned on outside of the procedure. - Try this at the beginning of your procedure:

    Application.Calculation = xlCalculationManual
    

    Then, at the end of the code set it to:

    Application.Calculation = xlCalculationAutomatic
    

    It might help; however, without a code sample it is very difficult to properly help you.

提交回复
热议问题