web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sharepoint + refresh E...
Power Automate
Unanswered

Sharepoint + refresh Excel data + Locked computer

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I have about 15 Excel reports located on SharePoint. Excel files get data from SQL Server.

I need to refresh Excel data every day by clicking „RefreshAll” and some of them 6 times a day. Operations are easy:

  1. Open Excel file on SharePoint
  2. Click "RefreshAll" data = (Ctrl + Alt + F5)
  3. Save Excel (Ctrl + S)
  4. Close Excel (Alt + F4)

Everything is working "manually”. 😮

 

I tried to automate it with MS Power Automate (PA) but I still have different problems.

  1. I’d like to do it with PA Web version. I don’t want to use a function built-in SharePoint.
  2. Sending a keyboard shortcut I found only in PA Desktop. Is it possible to send a keyboard shortcut with web PA version?
  3. Now, from Web PA I trigger a flow on Desktop PA, but it doesn’t work when my desktop is locked. I'd like to run a flow at night, so I want to lock my computer. How to solve such a problem?

Can you give me a link to an example (youtube or some screens on www) of a solution to that problem?

 

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,690 Moderator on at

    Based on what you've said, here's what I'd recommend: 

     

    1) Use Power Automate's scheduled trigger - recurring - every 6h? Every 4h? Up to you.

    2) Use the Run Script action.

    3) Make it run a Macro you'll add to your workbooks - this one:

    Sub Workbook_RefreshAll()
     ActiveWorkbook.RefreshAll
    End Sub

     4) Success. 

  • TK07 Profile Picture
    2 on at

    Hi, sorry for the delay but I'm still explaining MS Office licensing issues with my admin. I have Office ProPlus 2019 license, but I don't see in Excel "Automate" tab, so now I cannot use Office scripts. I'll be back soon. 🙂 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard