Forum Discussion
AydeeDiaz
Oct 20, 2022Copper Contributor
Wait until query is refreshed to run the next macro
Hi! I am trying to create a macro, but I need to wait until query is refreshed before doing the copy to paste in the workbook Sub OpenAnyFile() VBA.Shell "Explorer.exe C:\Users\vjrdcx\Aptiv\Apti...
AydeeDiaz
Oct 24, 2022Copper Contributor
Sorry what do you mean??
JKPieterse
Oct 24, 2022Silver Contributor
There is a checkbox in the query properties that either allows or disallows the query to run in the background. Make sure it disallows it.