Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Dear members,
Thanks a lot for your time. I am using VBA to refresh power query embedded in Excel, but sometimes will got this error message. Anyone has encountered this situation before?
The VBA code:
The error message in VBA:
The status in Power Query, seems refresh cannot be finished
Best Regards,
Maggie
As the error message states - if a refresh is currently happening any additional refresh requests will be ignored until that refresh is complete.
Thank you for your response! Is there a way to stop the refresh without reopening the Excel? Usually it should be completed within several seconds, but sometimes the refresh of this query will take long time (cannot stop), so this error message pops up.
I would like to refresh this Query only, would not refresh other queries.
I am not aware of a way to stop an ongoing refresh, apart from stopping and restarting the capacity your dataset is on.
Have you looked into refreshing partitions via XMLA endpoint?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.