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 / Using keyboard Strokes...
Power Automate
Answered

Using keyboard Strokes to refresh All data in Power Query (Excel Workbook) in PAD

(0) ShareShare
ReportReport
Posted on by 231

Hi,

Using Recorder i have used Computer Mouse to perform following in Excel Workbook in PAD:-

1. Go to the "Data" Tab.

2. Click "Refresh All".

The screenshot is enclosed:-

Screenshot 2022-08-09 133646.png

 

This works fine, but sometimes i have observed that while executing this flow, sometimes mouse hovers to some different area and creates error in my workbook/ PAD flow.

I learnt that the the above action can also be performed using my computer keyboard and it requires "Ctrl + Alt+ F5". 

I have tried to execute but Please let me know how to run "Ctrl + Alt+ F5" in the below screenshot so that i can adjust my PAD steps in this flow:-

Screenshot 2022-08-09 135949.png

Also please let me know whether i have to select "Foreground window" or "Window instance/handle" under "SEND KEYS TO" Parameter

Regards,

  • Verified answer
    Pavel_NaNoi Profile Picture
    1,074 on at

    Use foreground window if excel is in view at this part of the automation, also to do what you want to do its:

    {Control}({Alt}({F5})), hover over the (i) icon on the right in the send keys action to learn more.

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I find, that creating a reference to Excel makes sending keypresses much more reliable then choosing "Foreground Window) and even works of other windows block/are on top of the Excel sheet you are working on.

    (Yes, I know: you should never open more applications or windows than you need! Nevertheless, it is unavoidable sometimes - and that's where the object reference come in handy 😊)

     

    Best regards

    /Klaus

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 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard