VBA: Querying Access with Excel. Why so slow?

后端 未结 10 774
情话喂你
情话喂你 2021-01-18 03:24

I found this code online to query Access and input the data into excel (2003), but it is much slower than it should be:

Sub DataPull(SQLQuery, CellPaste)
Dim         


        
10条回答
  •  庸人自扰
    2021-01-18 03:46

    Lots of formulas may reference the query. Try temporarially turning on manual calculate in the macro and turning it off when all of your queries are done updating.

    This should speed it up a bit, but still doesn't fix the underlying problem.

提交回复
热议问题