Building a macro that will refresh a query (with existing extension), take the results (anywhere from 50,000-100,000 lines), and copy to a different spreadsheet.
The macro works, but the query refresh takes so long that the macro moves on without waiting for it to finish. Is there a way to write in a "pause" or "wait for previous step to complete before moving on" step? Or do I just have to teach the person how to refresh the query and then run the macro?
Thank you!
Judi
The macro works, but the query refresh takes so long that the macro moves on without waiting for it to finish. Is there a way to write in a "pause" or "wait for previous step to complete before moving on" step? Or do I just have to teach the person how to refresh the query and then run the macro?
Thank you!
Judi