r/ExcelPowerQuery • u/DragonStern • Apr 13 '25
Is it possible to add a refresh button?
Is it possible to add in the excel sheet a button to refresh the power query?
2
Upvotes
r/ExcelPowerQuery • u/DragonStern • Apr 13 '25
Is it possible to add in the excel sheet a button to refresh the power query?
2
u/Thiseffingguy2 Apr 13 '25
Automate tab. Lets you record a simple script like this, then add a button. No macro needed. https://learn.microsoft.com/en-us/office/dev/scripts/overview/excel
1
u/Weaver707 Apr 13 '25
I added the refresh as a shortcut on my quick access toolbar. Makes it easy to get to regardless of what else is happening.
You could also set the document up to refresh on open, if that is the goal.
1
u/still-dazed-confused Apr 13 '25
Yes, this is useful to do if you have multiple queries that you want to refresh in a specific order. If you're interested I can grab the code when I'm back at my computer.
1
u/TheBusterHymenOpen Sep 17 '25
Would pressing F9 do the trick?