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 / Monthy excel file need...
Power Automate
Answered

Monthy excel file need new UI Element every time on download

(0) ShareShare
ReportReport
Posted on by 55

Hi:

 

I have developed a desktop flow that will download monthly rapport  in excel  from a web portal.Flow works very fine but the problem is that every time when month changes and flow will ask for  new UI element. So I can not schedule this  process.

 

I marked  UI element  with the icon  of Excel file . Before that I marked whole excel text I got the same problem . I thought  may be the Excel file name that  changes its name based on month create problem .

 

How can I solve this problem?

 

regards

 

I have the same question (0)
  • Srini007 Profile Picture
    3,467 Super User 2026 Season 1 on at

    Hi @mraza 

     

    It would be great if you can share the screenshot how the element appears in website? Is this publicly accessible then share the link, Also to give some info, you need to pass a dynamic variable with the current month and this will works

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

  • mraza Profile Picture
    55 on at

    @Srini007  thanks for your repy . I attached here an image shows how the months are selected in the portal and when we download the file ,It shows the name with the description . The month name changes with respect and year and month. Thats why the excel icon for my UI 

     

    mraza_0-1692083444372.png

     

  • LokeshBysani Profile Picture
    229 Super User 2024 Season 1 on at

    @mraza if possible share the Selector of UI element that you are using to download. 

     

    Also if you click on the name avvikelser__* will the excel file be downloaded or do you need to specifically click on excel icon. 

  • Srini007 Profile Picture
    3,467 Super User 2026 Season 1 on at

    Hi @mraza 

     

    You have to pass in UI element of Excel Icon as avvikelser*

     

    As * is a WildCharacter which replaces any other chacters even if it changes

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

  • mraza Profile Picture
    55 on at

     

    @LokeshBysani file is download after I choose the year,month star day and end day.. when it is download it will get the name "avvikelser---*yymm01-yymm31.xlsx". Now i want to mention  it in  desktop flow to select the file either by name or by image as shown below. First time it woorks very fine . when the month changes then flow asked for marked "new UI".. 

     

    mraza_0-1692086362555.png

     

     

     

     

  • Srini007 Profile Picture
    3,467 Super User 2026 Season 1 on at

    Hi @mraza 

     

    To use the excel file which was downloaded already in the folder, so you can use Get Files in Folder action,  and in Advance Options Order by "Last Modified", this will give you the files in %Files% variable

     

    Now you can use the Read Excel and write as %Files[0]% which will give the latest downloaded file

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

  • mraza Profile Picture
    55 on at

    @Srini007  thanks again . Acually i am using the same concept in remove unwant rows from the Excel file . opening the Excel file as i mentioned above because the excel file has button "Enable editing" . Without disabling the button I can not work on excel file. 

    That why I open the downloaded excel file , open it , click on "Enable Editing", make it active and close the same file and then used the steps you mention and clean the Excel file for sending further.

     

    How can make Enable the Excel  file for editing?

     

  • Verified answer
    Srini007 Profile Picture
    3,467 Super User 2026 Season 1 on at

    Ok @mraza 

     

    For opening the excel file follow the above steps and then use Launch Excel and write the same expression as %Files[0]% which will get the files

     

    Also by default it will be Instance as visible only, after this you can keep a click activity to click on Enable Editing

     

    OR

     

    You can bypass the enable editing popup by using as mentioned in this link 

    https://www.automateexcel.com/how-to/protected-view-enable-editing/

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

  • mraza Profile Picture
    55 on at

    @Srini007 Thanks again . I was just studying the same concept . Now i have enable it . I will run my flow . hope it will work fine .

     @Srini007  Thanks again  for your time and contribution !

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 957

#2
Valantis Profile Picture

Valantis 847

#3
Haque Profile Picture

Haque 609

Last 30 days Overall leaderboard