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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Keyboard Shortcut Issu...
Power Automate
Suggested Answer

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!

  • CU16071609-1 Profile Picture
    6,255 Moderator 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,607 Super User 2026 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard