Skip to main content
Community site session details

Community site session details

Session Id : 450p3pW8QHWwyQ/tCbrDkz
Power Automate - Power Automate Desktop
Answered

Attach to running excel as MHTML

Like (0) ShareShare
ReportReport
Posted on 2 Aug 2021 13:02:53 by

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?

Categories:
  • Verified answer
    Community Power Platform Member Profile Picture
    on 08 Aug 2021 at 08:19:04
    Re: Attach to running excel as MHTML

    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 🙂 

     

  • MichaelAnnis Profile Picture
    5,721 Moderator on 02 Aug 2021 at 13:08:51
    Re: Attach to running excel as MHTML

    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.

     

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete