web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / “No response” error wh...
Power Automate
Unanswered

“No response” error when processing Excel with Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 9

I am using Power Automate Desktop to create a flow that copies and pastes the entire data area on the sheet from A to B, from B to C, and from C to a temporary Excel file (work Excel file) that opens for work, while opening Excel files (assumed to be A/B/C) with about 300,000 rows and 70 columns in read-only mode in order. Then, I perform some processing such as value copying between columns and save it in CSV format.

 

A is the original data, and B and C each have formulas entered in about 10 columns on the right end.

 

Therefore, every time I copy and paste, I perform a recalculation with F9 by “Send Key”, but here I set enough Wait until the processing is finished and I can confirm that the processing is finished.

 

Every time I copy and paste from A to B, from B to C, and from C to the work Excel file, I close the Excel file that became unnecessary in order, end the process, and clear the list.

 

The problem is that for some reason, after copying and pasting from C to the work Excel file, the process of closing C becomes “No response”.

 

Since the same file as A/B/C with about 10 rows of test data ends without any problem, I suspect a memory problem, but I do not know the cause because it ends without any problem when I perform almost the same process with the flow of A→B→work Excel file→CSV (the pattern without C).

 

The environment is Windows 10, Office 365, Power Automate Desktop is all up to date, and Power Automate Desktop is running as an administrator.

 

The Excel files are on Share Point Online, and I sync locally with the upper folder where the files are stored, and open each file by getting the path from Explorer on Power Automate Desktop.

There is no similar case on the web, and I am stuck and desperate.

 

I would appreciate any advice. Thank you very much.

I have the same question (0)
  • UshaJyothiKasibhotla Profile Picture
    203 Moderator on at

    Hi @tysmrn 

    Could you please send some screen shot of the error and flow if possible... so that we can help you..

  • WillSG Profile Picture
    352 Moderator on at

    Hi @tysmrn  I hope you are doing well.

     

    You can use the Action Attached to Excel and re attached the file with the Excel Instance prior to closing the Excel Files, I have seen this issue in the past that somehow the Instance get lost, so try it in that way before close the Excel file C.

     

    Please let me know if it works, happy automation!,


    If I have addressed your inquiry successfully, kindly consider marking my response as the preferred solution. If you found my assistance helpful, a 'Thumbs Up' would be greatly appreciated.

     

    Additionally, I offer specialized consultancy and development services leveraging PAD. If you're interested in exploring these services further, feel free to DM me, and we can initiate a discussion.

     

    Kind regards,

     

    Will SG

    Managing Director & Automation Lead

    RAMS CR (Recruitment & Automation)

    LinkedIn Profile

  • tysmrn Profile Picture
    9 on at

    Hi @WillSG !

    Thank you for your reply! I’m really glad that you helped me with your advice.

     

    I used the “Attach to running Excel” action that you suggested, and reattached the file C to the Excel instance before closing it, as it was not responding.

     

    But the problem did not go away, so I did the same reattachment for all the files A/B/C before closing them. Then I realized that the working Excel file was actually not responding in the background, so I wanted to reattach it as well, but since it was a temporary file that I opened, I added the “Save Excel” action in the middle and explicitly saved it as a file before adding the reattachment process.

     

    But this time, the working Excel file became not responding with the “Save Excel” action that I added in the middle.

     

    Maybe some process in the working Excel file is taking longer than I expected.

     

    I’ll do some more research, but I would really appreciate any advice you can give me!

     

    Kind Regards,

    tysmrn

  • tysmrn Profile Picture
    9 on at

    Hi @UshaJyothi20 !

    Thank you for your reply!

     

    I would like to attach a screenshot of the flow, but unfortunately, the PowerAutomateDesktop I am using is in Japanese, so I think it would be quite difficult for you to understand…

     

    Kind Regards,

    tysmrn

  • Verified answer
    WillSG Profile Picture
    352 Moderator on at

    Hi @tysmrn  I hope you are doing well.

     

    Hey, happy to see I can help you, look this approach below is more a workaround that a fix to the actual issue, but it might work for you and your process.

     

    The process would be as follows:

     

    1. Do the Excel tasks for file A and B
    2. On the C file copy it and save it as CSV.
    3. If you don’t need any excel file open use the Run DOS Command to kill the Excel process, this action will close any Excel file opened, so keep that in mind if you are going to use it.

     

    Here is the snipped code for your review, just copy and paste on your PAD dev environment.

     

    @@copilotGeneratedAction: 'False'

    Scripting.RunDOSCommand.RunDOSCommand DOSCommandOrApplication: $'''taskkill /IM Excel.exe /F''' StandardOutput=> CommandOutput StandardError=> CommandErrorOutput ExitCode=> CommandExitCode

     

    Please let me know if it works, happy automation!,


    If I have addressed your inquiry successfully, kindly consider marking my response as the preferred solution. If you found my assistance helpful, a 'Thumbs Up' would be greatly appreciated.

     

    Additionally, if you have any questions, feel free to DM me, and we can initiate a discussion.

     

    Kind regards,

     

    Will SG

    Managing Director & Automation Lead

    RAMS CR (Recruitment & Automation)

    LinkedIn Profile

  • tysmrn Profile Picture
    9 on at

    @Hi @WillSG !

    I’m very happy that I could help you with my advice!

     

    I was able to close all the Excel files with the code you suggested!

     

    But the working Excel file was set to convert and save as CSV when I used the “Close Excel” action with the “Save As” option, but unfortunately the CSV file was not created.

     

    I wanted to investigate the cause if I had time, but I discussed with my team members and decided to prioritize other flows. I’m leaving this work today, so I’m sorry that I can’t be involved anymore.

     

    Thank you so much for your advice!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard