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 / How can I set loop flo...
Power Automate
Answered

How can I set loop flow by search result

(0) ShareShare
ReportReport
Posted on by 15

Hi

 

I wanna automate my job flow with using "Access".

Every first day of the month, I search last-month sales.

and then, copy&paste the results to sales.xlsx(EXCEL).

 

There are 3 results in below picture.

I wanna copy&paste these information to EXCEL.

I can't create flow because the number of results are different month by month.

I wanna create loop flow which continue times of  the number of results, but I don't know how to set.

How should I do ? 

 

sorry for my poor english.

any question you have, let me know

thanks

スクリーンショット 2021-03-23 23.39.23.png

I have the same question (0)
  • fraenK Profile Picture
    2,125 on at

    Why do you want or need to use Power Automate for this?

    https://www.excel-easy.com/examples/import-access-data.html

  • ndcfo2nf92 Profile Picture
    15 on at

    hi

    thanks for introduce useful solution.

     

    but there's a rule to use Power Automate.

    So, I must use it whether I wanna or not.

  • fraenK Profile Picture
    2,125 on at

    That's a stupid rule. Nobody would go through complex and error-prone UI scraping if you could very easily access the database directly. 

  • ndcfo2nf92 Profile Picture
    15 on at

    I understood what you wanna tell.

    Do you have any answers what I asked ??

  • Verified answer
    fraenK Profile Picture
    2,125 on at

    You could try this: https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/uiautomation#extractdatafromwindow

     

    If it doesn't work, then you need to figure out how to access the cells, by UI selector or just TAB through them plus Ctrl+C until there is an error or you have reached a certain element.

    https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/uiautomation#getelementdetails

    https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/mouseandkeyboard#sendkeys

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 997

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 642

Last 30 days Overall leaderboard