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 / Excel Opening in Backg...
Power Automate
Unanswered

Excel Opening in Background Even Though "Make Instance Visible" is On, Causing Read-Only Issue

(0) ShareShare
ReportReport
Posted on by

I am opening Excel from a network drive.  Upon opening, it appears for a split second then disappears.  It functions fine in the flow (reading/saving), but the problem is if the flow has an issue and does not get to properly close Excel, then there is no way for me to close it.  I can kill the task, but then, because it is a network file, it becomes "orphaned", meaning the server thinks I still have it open.  Then the next time the script runs the file is opened read-only.  I then have to wait for an inordinate amount of time until the server decides it's no longer open and closes it.  How can I prevent this, and why is it not staying visible?  If it stayed visible, I could manually close it.

 

Ukiman1014_0-1689346262784.png

  • Microsoft® Excel® for Microsoft 365 MSO (Version 2305 Build 16.0.16501.20074) 64-bit
  • Power Automate Desktop version 2.33.96.23172
  • Windows 11 Enterprise
    Version 22H2
    OS build 22621.1992
    Experience Windows Feature Experience Pack 1000.22644.1000.0
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I'm not sure why it's doing that, but let's just work around it.

     

    From the time the bot opens, put an OnBlock Error around the entire rest of the flow, to the point where it is supposed to save and close.  In the OnBlock Error, use Go to Subflow, and in that new Subflow just put "Save and Close Excel" or just "Close Excel" if you don't want it to save on an error.

     

    This should at least solve your issue for now, and then I would just otherwise contact support to see if they have more guidance.

  • Ukiman1014 Profile Picture
    on at

    Thanks!  I will use OnBlock Error to make sure Excel is closed if any errors occur.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 134 Super User 2026 Season 2

Last 30 days Overall leaderboard