how to Speed Up the VBA Macros

前端 未结 7 1672
陌清茗
陌清茗 2021-01-24 06:06

I am Generating a New Sheets using macros. For a New Sheet generation , Data is retrieved from more than 4 MS Access DB. Each DB had minimum 200 field. My Macro code includes

7条回答
  •  一整个雨季
    2021-01-24 06:14

    Surely you mean

    Application.ScreenUpdating = False
    

    Apart from that you could also look to disable the recalculation of the workbook whilst the macro is running and see if that makes a difference. This is of course assuming that the bottle neck is with the spreadsheet part of the process, if its taking ages to get the data from access that might be an area to look at

提交回复
热议问题