Hi, I use ListObject.QueryTable property to get external data. Driver ODBC, BackgroundQuery = False.
I have some lines of code after QueryTable.Refresh, that are executed even the Query still runs.
I'd like them to wait until the Refresh is done.
I tried to switch BackgroundQuery to True, Application.Wait, also a DoEvents method, but these don't do the trick.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!