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
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Top Solution Authors
Top Kudoed Authors
Users online (2,919)