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 / Error message "Failed ...
Power Automate
Answered

Error message "Failed to close Excel instance"

(0) ShareShare
ReportReport
Posted on by 6

I'm new to Power Automate but think the objective I'm after is fairly simple.  I have a spreadsheet that tracks a running 52-week tally of closing stock prices for various securities.  The spreadsheet utilizes the Stock Data Type to access this information.  I would like to update the file daily even though it is viewed far less frequently.  Accordingly, an automated approach is very appealling.  

 

I set up a flow as follows:

  1. Launch Excel
  2. Select Tab in Window (Button "Refresh All")
  3. Close Excel

The flow fails at that last step.  I get the error message "Failed to close Excel instance."  I don't know what I'm doing wrong or how to resolve the error.

 

Any help is greatly appreciated!

I have the same question (0)
  • Verified answer
    kinuasa Profile Picture
    799 Most Valuable Professional on at

    It's possible that the refresh process hasn't finished.

    Why not try using the "Wait" action before closing Excel?

  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,255 Moderator on at

    @teekayjunior 

    Could you provide some screenshots of your flow with sensitive information hidden? This will allow us to better understand your issue and provide more targeted assistance.

     

    Meanwhile, It seems that your Excel file is still in use. Consider adding wait before closing it to ensure that all operations are completed.

    Deenuji_0-1712808247379.png

    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

     

     

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
David_MA Profile Picture

David_MA 248 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 204

#3
Haque Profile Picture

Haque 179

Last 30 days Overall leaderboard