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 / PAD Selector Sometimes...
Power Automate
Answered

PAD Selector Sometimes has ".xlsx" sometimes not

(0) ShareShare
ReportReport
Posted on by 26

Help! I have a PAD flow that has been running well for a few months. Lately it has been failing about 50% of the time on a step that is selecting "Home" in the Excel Ribbon with the error "Tab selection failed". On a hunch I re-added the UI element and compared the two selectors in the builder. 

Here is the previous selector:

:desktop > window[Name="Toast_TimeEntry_MonthlySummary - Excel"][Process="EXCEL"]

Here is the latest selector capture on failure:

:desktop > window[Name="Toast_TimeEntry_MonthlySummary.xlsx - Excel"][Process="EXCEL"]

 

The difference is the ".xlsx" part. Why would the selector sometimes have ".xlsx" and other times not?

 

 

I have the same question (0)
  • Verified answer
    VJR Profile Picture
    7,635 on at

    Hi @bpearce 

     

    It is going to be hard to say why PAD is doing that.

    But you could use only the word Excel with a wild card prefix so that anything prior to Excel can be accepted.

  • VJR Profile Picture
    7,635 on at

    Oh yes and 1 more thing 🙂

    Check if the system settings are sometimes enabled to show the file extensions and sometimes disabled and therefore the selectors are behaving that way.

  • bpearce Profile Picture
    26 on at

    @VJR - thanks for the suggestions. I do recall enabling file extensions in File Explorer some days back. Never thought a change in File Explorer would impact PAD driving Excel. I am humbled once again.

    For others that come across this I'll add that I didn't figure out "wild card prefix" as VJR suggested, but I was able to use the selector editor to specify "starts with" instead of "equals" and truncating the Name= at the word "Summary" (example above).

  • VJR Profile Picture
    7,635 on at

    Here is the official link to the documentation for building custom selectors.

    Also accepts variables and regular expressions.

    https://docs.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors

     

     

     

     

     

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 953

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 622

Last 30 days Overall leaderboard