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 / Keyboard Shortcut Issu...
Power Automate
Unanswered

Keyboard Shortcut Issue in Unattended Mode (Excel Data Refresh)

(1) ShareShare
ReportReport
Posted on by 12

Hi everyone,

I'm experiencing a strange issue with keyboard shortcuts in unattended mode. I've built a simple PAD flow to refresh data in an Excel file (Data -> Refresh All).

Here's the situation:

  • Attended Mode: The flow works perfectly, clicking the "Refresh All" button as expected.
  • Unattended Mode (Initial Attempt): When running unattended, the flow throws a UIPI error when trying to interact with the button.
  • Unattended Mode (Workaround Attempt): To avoid the UIPI error, I replaced the button click with a keyboard shortcut (e.g., Ctrl+Alt+F5 or whatever shortcut maps to "Refresh All"). The error is gone, but the data is not actually refreshing in the Excel file.

It seems like keyboard shortcuts should work in unattended mode. I'm stumped as to why this isn't working.

Has anyone else encountered this issue or have any suggestions on how to resolve it?

Thanks in advance for your help!

I have the same question (0)
  • Deenuji_Loganathan_ Profile Picture
    6,250 Super User 2025 Season 2 on at
    Hi There,
     
    Could you please share exactly how your flow throwing UIPI error? If possible please share the screenshot
  • Amlan Sahoo Profile Picture
    4 on at
    You can do it using code stagecinstead of doing it through shortcut. Either you can run a macro or convert the same macro to VB.net and use. Excel and shortcuts never work properly. 
  • Suggested answer
    eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at
    Have you tried the keyboard shortcut workaround attempt with attended mode? Does it work normally then?
    Make sure the Send keys -actions Ctrl + Alt + F5 is correct syntax: {Control}({Alt}({F5}))

    Do you have Focus window -action before the keyboard shortcut send keys so that the shortcut will be pressed on the Excel window?

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard