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 Automate
Answered

Launch Excel fails

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello together, 

I moved a file from one folder to another with the "move file(s)" action. Then I'm trying to open the moved excel file. The move file(s) action returns an array so I'm storing the filepath inside a text variable (made it with a subtext). If I'm manually copying the text from the subtext variable inside the "launch excel" the excel starts. Also if I'm calling the function"if file exists"  with my subtext variable it returns the file exists but the action launch excel returns missing file and don't start excel.

Maybe those pictures help to understand my problem. Hopefully someone can help me out.

AWSN_1-1625653436203.png

AWSN_2-1625653470416.png

AWSN_3-1625653530818.png

 

 

I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

    Notice that in your variable there are 2 rows (second one in blank). So %Subtext% is an array.

    Try deleting the second row.

     

  • Verified answer
    tkuehara Profile Picture
    667 on at

    Hi @Anonymous 

     

    You can directly assign the file object to the "Launch Excel" action:

    tkuehara_0-1625658866729.pngtkuehara_1-1625658946400.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard