cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PentaGalDad77
Frequent Visitor

PAD to refresh Power Query (aka Data/RefreshAll) via Send Keys

I have had limited success in using PAD to open an Excel file and perform a Data/RefreshAll function. It seems trivial, but has been problematic for me. 

 

My current approach is to use PAD's "Click UI element" function to select "Data" from the Excel Ribbon, then "RefreshAll". For some reason, PAD cannot consistently do this. My flows can go for days just fine (100% success rate) then start failing (less than 50% success rate). After trying many "fixes" I am now looking for an alternative approach. 

Instead I would like to try the hot-key for Data/RefreshAll which I understand to be <Ctrl><Alt><F5>. I believe the Send Key sequence should be coded as:

PentaGalDad77_0-1620842225808.png

If you can't read the image, the Text to Send value is: {Control}({Alt}({F5}))

 

This Send Key sequence is ignored when the flow executes. I have tried both "hardware key" options.

 

I also tried recording a macro which determined the Text to Send value should be: {LControlKey}({LMenu}({F5}))

This was ignored also. 

 

Appreciate any guidance.

0 REPLIES 0

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (44,278)