How to improve the speed of VBA macro code?

前端 未结 7 1533
孤城傲影
孤城傲影 2020-12-06 07:11

I do not have much experience with writing macros, and therefore need the help of this community for the following issue encountered:

My macro copies a range of valu

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-06 07:34

    Please take a look at this article as well. How to speed up calculation and improve performance...

    By all means, Application.calculation= xlCalculationManual is usually the culprit. But we can notice that volatile Excel sheet functions can mostly kill your application on large scale of data processing and functional aspect.

    Also, for your current code following post might not be directly relevant. I find it useful for tips on over-all Excel/VBA performance optimization.

    75 Excel speeding up tips

    PS: I don't have enough reputation to comment on your post. So added as an answer..

提交回复
热议问题