How to make Power Query refresh on an Excel protected sheet

preview_player
Показать описание
Power Query does not offer the possibility to refresh queries that load to tables in protected sheets to be refreshed while the sheet is protected. A simple macro will do the trick, but there is a very simple detail that we must not forget, or the macro will not work.

More on how to make VBA wait for Power Query here:

---------------------
Celia Alves - Microsoft MVP & Certified Excel Expert, Solutions Developer
Instagram: @solveandexcel
Twitter: @celia_excel
-------------------------
#Excel #solveandexcel #microsoft365 #toronto #torontobusiness #wit #msexcel #microsoftexcel #excelreport #excelautomation #snapreports #powerquery #canada
Рекомендации по теме
Комментарии
Автор

I'm watching this vedio after 2 years and i'm really too much gratefull for this trick which solve my VBA debug ... thank you so much ❤❤

mohammedelsakally
Автор

Thank you, I keep stumbling upon your excellent work on my learning journey.

Macfinity
Автор

genius !!! it worked! Thank you so much

Giovanni-vxxl
Автор

Amazing... I was using Application.Wait by a certain seconds which may not always be enough for completion of all refreshing background queries... I will test your method and hopefully the problem will be fixed

parthasarathibhowmick
Автор

Thanks, I love all your explanations. Simple and clear

chavelooo
Автор

Great trick and explanation Celia. Did not know that! Thanks for sharing!

cristian.angyal
Автор

Excellent Celia! Thanks for sharing :)) Thumbs up!!

wayneedmondson
Автор

Dear Celia Alves! I really want to give my query a feel of a standalone programme with its own icon and no gridlines etc. with a bit of my own branding or watermark. Any tips?

Macfinity
Автор

Can you share the macro text in the comments? Hard to read on the screen.

rubenvaneupen
Автор

Im getting error that Subscipt out of range

Lifeloveloxe
Автор

Thanks for this! 2:20 Is the protection of sheets always AFTER any power query steps? It's designed like this so the unchecked box can do what you're saying here?

jeffk
Автор

Hi, i want to extract orders table from my WordPress website has credentials, to excel, how can do?

giftfurnito
Автор

Thanks for this...
Would this work for restricted excel files.(Files restricted to one or two users, where the person running to PQ file would be one on the users having access to the file)

The query does not refresh properly when the source file is restricted.

CagnamG
Автор

does this refresh button have any macro?

There is a faint vba in the video. Can someone unsubscribe?

mariuszpawowski
Автор

when i click refresh all on tab data, mine still cant refresh :\

ajimeeful