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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Top Solution Authors
Top Kudoed Authors
Users online (5,112)