Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Wait until excel file is closed - Anyone with a solution ?

Hey all, 


Im looking for something that will force my flow to wait until an excel file that is currently open to be closed by the user and then continue the flow. 

For example:


open excel...

if excel = open, wait....

excel closed? Yes

Continue with flow....

Memorable Member
Memorable Member

This action should do it, combined with your specific file/window title details:


Hi @tommofin, please take a look of this article "Working with locked documents in Power Automate Flows":


It handles your inquiry


Super User
Super User

@fraenK is correct.  In "Wait for Window" there is a "to Close" option.

Super User
Super User

He is asking for help with Power Automate Desktop, not Cloud.

Helpful resources

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.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

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