Hi all,
I have myself a macro code does various things but in the middle of it it tells a microsoft query table to refresh itself. It then brings up a userform afterwards. The problem I am having is that bringing up the userform is stopping the query table from refreshing (it won't refresh until I manually close the userform).
I have tried the application.wait function but this doesn't actually stop the code - it just pauses it for x seconds (my mouse pointer goes into the 'waiting' mode) so the table still doesn't refresh itself.
What I am after basically is somehow that I can stop the code completely and then start it again 2 or 3 seconds afterwards?
Can anyone help?
Bookmarks