how to Speed Up the VBA Macros

前端 未结 7 1829
陌清茗
陌清茗 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:26

    Take a look at Chris comments. We believe that your performance bottleneck is likely to be in the way you're querying the database rather than in the VBA code that applies the data into the sheet.

    Simple questions about Access performance: - Your tables have indexes? - Are you using any kind of table join? - Are the Access databases local on your computer or being accessed remotely?

    Again, I'm only reinforcing what Chris already commented.

提交回复
热议问题