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 / Uncommon problem with ...
Power Automate
Unanswered

Uncommon problem with the action "Get active Excel worksheet"

(0) ShareShare
ReportReport
Posted on by 3

I have a flow that executes daily, it works as intended the majority of the time, However every month or so it fails with the following error "Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException". It also seems to write a number in the read-only excel file (doesn't save).

The current belief is that it may be a problem relating to the RAM of the computer. Does anyone have any experience with this error?

 

Problem.png

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Can you share a screenshot of your flow where this action is, so that other actions before and after it are visible? Also some context as to what you are trying to do?

  • JoseRamonCotera Profile Picture
    3 on at

    The previous action is an increase variable and the next is a for each loop, however this error can happend at any point where an excel is used. The excel files contain some info that is being read and used at another flow to find data in a webpage.

    JoseRamonCotera_0-1694068458979.png

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    I assume something in your flow is not really stable and in some cases it interacts with Excel, instead of a different UI. And since your Excel instance is read-only, this could cause issues.

     

    I would suggest making your Excel instance invisible (that is an option in the Launch Excel action) and then checking your flow for any Send keys or mouse-related actions that could possibly under some circumstances target the incorrect UI.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard