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 / How to activate Excel ...
Power Automate
Unanswered

How to activate Excel which is opened surely? PAD fails when using "Focus Window".

(0) ShareShare
ReportReport
Posted on by 73

Hello, All

I use "Focus Window" to activate Excel. But this action isn't surely.
(I use "Wait for window" to confirm whether Excel is focused or not. Sometimes it fails so that the flow can't progress.)

As a result of try and error I found out using "Display message" before sending keys and other things like that.

Do someone know other effective ways?

Miyuki_0-1679296966228.png

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Miyuki 

     

    Are you trying to open excel file?

    If yes, why don't you try with launch excel action?

  • ThomasFonn Profile Picture
    273 on at

    Dear @Miyuki 

     

    If, for some reason you can't open the Excel file with the "Launch Excel"-action as Nived proposed,

    Then you can try to use the "Attach to running Excel"-action instead.
    This makes it easier to target the excel file(s) with other Power Automate Desktop-actions

     

    Best Regards,

    Thomas Fonn

  • hoosier_nyc Profile Picture
    17 on at

    I've been having issues all morning with the "Launch Excel" action. This seemingly occurred after the update of PAD. Anyone else having issues? I am trying to open a file that was downloaded and everytime PAD says "Unable to launch excel".

     

    TIA.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Have your restarted Power Automate Desktop?

     

    Or 

     

    Since you told, you are reading a file that is downloaded, are you sure that bot is reading after it is downloaded properly ?

     

  • hoosier_nyc Profile Picture
    17 on at

    I previously had built the bot where it the open excel referrenced the variable and I had to type in the file extension. But post this update it seems that the file extension is no longer needed and I only neede to reference the variable. Weird change but I got it working now.

     

    Thanks!

  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    Not having issues with launching Excel, but with excel ignoring the system list delimiter when opening csv (it defaults to comma, whereas I have a semicolon set in system settings).

    In general, I use read csv and set the desired separator there, so not sure if this is an update issue or has always been the case.

    But yesterday started working on a process where I need to import large csv and reading from csv eats up 8GB of ram, haha.

    So instead of using Lunch Excel action, I use the dos command to launch Excel with a file as a parameter, then as others have suggested here, I use attach to excel using the file name. Excel opened this way honours the system list separator (and consumes less than 1GB of memory to open the same csv).

     

     

  • Miyuki Profile Picture
    73 on at

    Hi, @Nived_Nambiar 

    Thanks for your quick reply.
    I use the "Launch Excel" to open the target file and get its Excel Instance.
    (cf.   the following screen shot)

    Miyuki_0-1679448729149.png

  • Miyuki Profile Picture
    73 on at

    Hello, @ThomasFonn 

    Thanks a lot for your advice.


    I see the "Attach to running Excel". But I'm afraid that it doesn't the appropriate action in my case.

    >This makes it easier to target the excel file(s) with other Power Automate Desktop-actions
    →This is an informative advice for me. Your advice must helpe me other case.
       Thank you!

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 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard