Skip to main content

Notifications

Community site session details

Community site session details

Session Id : DaZpScVYgeqhlBAzNBhK6c
Power Automate - General Discussion
Unanswered

refresh excel every morning

Like (2) ShareShare
ReportReport
Posted on 16 Sep 2021 06:47:30 by 24

Hello everyone,

 

i try the following.

A workflow that every morning open my excel file, refreshed it, saves and close again.

What would the process look like? 🤗

Thank you in advance

 

SQLPower_0-1631774799403.png

 

 

 

  • Kinson-Lam (WCC) Profile Picture
    36 on 21 May 2024 at 05:47:09
    Re: refresh excel every morning

    Hi, I experienced the same problem.  My case is trying to refresh all data for my Power Query by using Workbook.refreshAllDataConnections in Office script.  However, it doesn't work in Power Automate environment.  After researched, this method is not going to work.  Microsoft published an Article to mention that refreshAllDataConnections or other refresh data function do not work in Power Automate environment.  It is a dead-end.  Sad.😫

     

    Troubleshoot Office Scripts running in Power Automate - Office Scripts | Microsoft Learn

  • Nic-AF Profile Picture
    on 21 Feb 2024 at 17:21:47
    Re: refresh excel every morning

    See Alichson's reply above.

    Specifically, this video https://www.youtube.com/watch?v=xwvLGbyhssI

  • alynadh97 Profile Picture
    2 on 20 Feb 2024 at 08:18:40
    Re: refresh excel every morning

    Hi, can you please show us how you set the Flow ?

  • rinkymaghnani Profile Picture
    4 on 21 Dec 2023 at 07:31:56
    Re: refresh excel every morning

    I have similar query. I have created a power Automated flow which send emails to employees on work anniversary. This flow is connected to an excel saved on my one Drive. That excel has a column with today's Date updated by Function- Today(). The emails are sent to those whose anniversary dates matches with Today's Date. For this the excel needs to be opened, refreshed and saved. 

    My Question- Can the today() function be refreshed everyday without opening the Excel.

  • pradeep_khanna Profile Picture
    31 on 30 Oct 2023 at 05:39:29
    Re: refresh excel every morning

    If you want the candy, you got to open the jar 😊

  • Leafar30 Profile Picture
    6 on 30 Oct 2023 at 03:18:24
    Re: refresh excel every morning

    Thats good if you want to open the file. What about if you dont want to open the file but you want that file to be updated?

  • PvO31 Profile Picture
    55 on 16 May 2023 at 09:06:41
    Re: refresh excel every morning

    Thanks @Alichson for confirming Office scripts with refreshes don't work in Power Automate. Mine are not even able to run sucessfully.

     

    So I'm wondering how @RemcoV16 managed to pull this off. Unfortunatly he hasn't responded since.

  • Alichson Profile Picture
    22 on 09 May 2023 at 07:36:52
    Re: refresh excel every morning

    This articles states that Refresh in Office Scripts is not supported by Power Automate.  The scripts run successfully, but they do nothing and throw no errors.

    https://learn.microsoft.com/en-us/office/dev/scripts/testing/power-automate-troubleshooting

    I have also adopted a workaround using Power Automate to add / update rows of an Excel table when items are added / updated to a SharePoint List. The Flow that I am using described in this video.

    https://www.youtube.com/watch?v=xwvLGbyhssI

     

    However, I also have SharePoint items being deleted and I could not create a similar flow to remove rows when items are deleted because the trigger "When an item is deleted" can only be used by admins.

    https://learn.microsoft.com/en-gb/connectors/sharepointonline/#when-an-item-is-deleted

    I have not found a workaround, so I am just periodically opening the file and refreshing the connection manually for now.

  • takolota1 Profile Picture
    4,859 Super User 2025 Season 1 on 25 Mar 2023 at 19:17:37
    Re: refresh excel every morning

    @AspasiaLiz 

     

    If you want to run the refreshes automatically & most users don’t have access to the data source, then you can try adjusting this batch create & update template to your datasource:

    https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Excel-Batch-Create-Update-and-Upsert/td-p/1624706

  • LizHK Profile Picture
    3 on 24 Mar 2023 at 20:45:39
    Re: refresh excel every morning

    I have similar problem but people who are opening the files do not have access to the data directly so they cannot refresh the data-?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard