Skip to main content

Notifications

Community site session details

Community site session details

Session Id : W9b2imCuoHk0wEXpiAB6lS
Power Automate - Power Automate Desktop
Unanswered

Click the button when button text is equal to excel value on specific cell

Like (0) ShareShare
ReportReport
Posted on 5 Dec 2022 11:52:49 by 20

As title, Is it possible when button text is equal to excel value on specific cell then click that button? 

 

(sorry that I asked a lot in this channel but this is the only channel I can ask.. 🙂

 

 

  • rickFL Profile Picture
    30 on 31 Aug 2023 at 09:32:44
    Re: Click the button when button text is equal to excel value on specific cell

    I already gave the video a thumbs up 😊 Do you have any other good resources on custom selectors?

  • Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on 30 Aug 2023 at 04:46:26
    Re: Click the button when button text is equal to excel value on specific cell

    Cool. Make sure you give the video a thumbs up, too. I'm not the author, but I know them personally. They don't do a lot of videos, but when they do, they're usually quite great. So, make sure you let them know you liked it 😉

  • rickFL Profile Picture
    30 on 29 Aug 2023 at 18:37:48
    Re: Click the button when button text is equal to excel value on specific cell

    Hi Agnius,

     

    OMG amazing! I watched the video and managed to do all of it by myself I learned so much! Thank you! 😁

  • Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on 29 Aug 2023 at 04:08:42
    Re: Click the button when button text is equal to excel value on specific cell

    Can you right-click the element and select "Inspect"? This will open the developer tools of your browser and show what the element selector looks like. If you share a screenshot of that, we might be able to suggest how to build a custom selector for you to click on.

     

    See here for some references on how to build a custom selector: https://learn.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors#use-variables-in-a-custom-selector

    Also this is a pretty great tutorial: https://www.youtube.com/watch?v=2PcyBa22Jj8&ab_channel=Thomas%22Shaky%22Petersen

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • rickFL Profile Picture
    30 on 28 Aug 2023 at 22:39:48
    Re: Click the button when button text is equal to excel value on specific cell

    Hi, This is exactly what I wanrt to achieve, but I am quite new to Power Automate Desktop. Could you explain to me the steps on how to achieve this?

     

    The website looks like the below. The value on my excel list will be filled into the search box and I want to loop through the different options and only click on it when it is equal to the value in the excel cell. Could you help me please? 😊

    rickFL_0-1693262297411.png

     

  • MichaelAnnis Profile Picture
    5,721 Super User 2025 Season 1 on 05 Dec 2022 at 14:27:43
    Re: Click the button when button text is equal to excel value on specific cell

    Get Web Element Attribute: Own Text Attribute to %OwnText%

    If %OwnText% = 'needed value

        'do something

    End(If)

     

    Good luck!

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Power Automate Desktop

#1
eetuRobo Profile Picture

eetuRobo 18 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 6

#2
John_Mavridis Profile Picture

John_Mavridis 6 Microsoft Employee

Overall leaderboard