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 / Changing file for UI E...
Power Automate
Answered

Changing file for UI Elements

(0) ShareShare
ReportReport
Posted on by 17

Hello all,

 

I have a file name, ex: "8shvytsj.xlsx". I'm using the UI "Click UI in Window" in many places to set values. Is is possible to universally change "8shvytsj.xlsx" to "MyFile.xlsx" all the "Click UI in Window" events?

 

Thank you

Rick

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    If you are trying to replace text inside the code of PAD, PAD does not have a Replace function for it's own code.  Example, we recently upgraded a server name from XXXXXX01 to XXXXXX02 and I couldn't just replace all everywhere in the code when referring to filenames or addresses on the server.

     

    However, if you are trying to get all your Excel "Click UI elements" to work in a different workbook, follow below:

     

    Open the UI pane in the top right.

    MichaelAnnis_0-1645642535070.png

     

    Find your Excel UIs...Note how mine are "bok cost test v2.xlsx"

    MichaelAnnis_1-1645642607916.png

    Hover your mouse over the window row so the 3 dots appear, click them and click Edit selectors

    MichaelAnnis_2-1645642652090.png

    Again, hover the mouse to display the 3 dots, click the 3 dots and click Edit selectors again

    MichaelAnnis_3-1645642710010.png

    Here, if you simply uncheck "Name", then the Excel UI elements you have will work on ALL Excel documents; you just have to make sure the one you want is in focus.  If you specifically just want it to work for "MyExcel.xlsx", then change the name to match.

    MichaelAnnis_4-1645642954566.png

     

    Best of luck!

     

  • rickvvaldez Profile Picture
    17 on at

    Great answer, thank you for your help!

  • Verified answer
    VJR Profile Picture
    7,635 on at

    Hi @rickvvaldez, Looks like you have found an answer to your question from @MichaelAnnis' post. Is it good enough to mark the post as solution and close the thread? Feel free if you have more questions on the same topic as of the original thread was opened.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard