cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rickvvaldez
Regular Visitor

Changing file for UI Elements

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

3 REPLIES 3
MichaelAnnis
Super User
Super User

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
Regular Visitor

Great answer, thank you for your help!

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.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Top Kudoed Authors
Users online (1,687)