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 / Close Multiple Excel F...
Power Automate
Unanswered

Close Multiple Excel Files

(0) ShareShare
ReportReport
Posted on by 5

I am trying to close multiple instances of Excel while saving them into a folder.

My Problem - I am not able to make the UI dynamic so that PADesktop closes the currently active excel file.

 

I have tried customizing the UI using a dynamic filename by creating a list but it did not work.

Can someone please help me or point me in the right direction.

 

Thanks

Chandeep

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

    Inside your loop, put this:

    MichaelAnnis_0-1627675857174.png

    It will get the window title: typically Boo1 - Excel.

    Windowtitle.Trimmed will make it Book1 or Book1.xlsx...not sure, but it works.

    Then, Close Excel saving it to whereever you need calling it whatever you want.  If this is a loop for several workbooks, I am sure you have a variable that you would like to put in the filename.

     

    Good luck.

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
11manish Profile Picture

11manish 227

#2
David_MA Profile Picture

David_MA 204 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 177

Last 30 days Overall leaderboard