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 / Attach to running exce...
Power Automate
Answered

Attach to running excel as MHTML

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, I just discovered so amazing and powerful tool which is power automate.

I want to save export from SAP which comes as a spreadsheet, but saved in an MHTML extension, that opens in SAP, I was willing to attach to running excel named: export.MTHML / export / export.MHTML - Excel and nothing works I am getting the error: "No Excel document found named export.MHTML.", the file from SAP are getting saved as export.MHTML - I can save with XLS as well, but there are many issues with this file as spaces in a cell before the wanted value begins.

Can you help me out?

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    PAD has a "Rename File" command which has a "Rename Scheme" parameter which can be set to "Change Extension."  I wonder if changing the file extension AFTER download it as MHTML would solve your problem.

    MichaelAnnis_0-1627909670651.png

    Then you could manipulate it in Excel, save, and close.

    After doing so, use the same command to change it back to MHTML.

     

    Best of luck.

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I have reached my goal but in a different way.

    I made changes in flow where the file with MHTML has been opened by VBS, there I have add step that is closing window named as "export.MHTML - Excel", second step is open Excel instance with existing file - I have choosen path to file export.MHTML

    Finally I'm able to manipulate the file 🙂 

     

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

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard