Hi,
I have a macro that is running correctly, and it will run when I open the workbook, the problem is that I also have a query that refreshes upon opening the same workbook, and my macro finishes before my query, so then it is "undone."

Is there someway to get the macro to wait until the query is done before it auto-runs?

Thanks!