How to wait for a Power Query refresh to finish? I've tried “DoEvents” with “BackgroundQuery = False”, and more, nothing works
问题 Setup: Windows 7 (at work) Windows 10 (at home) Excel 2016 (build 4627 at work) Excel 2016 (build 8730 at home) Power Query is setup to import, append, and transform a folder of Excel Files. This step works. Description of Problem After using any combination of any technique to wait for a Power Query to finish refreshing as described in the "Things I have tried:" section shown below. A message box can be displayed and any other code can be executed before the Power Query tables have finished