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
Unanswered

Excel Automation

(0) ShareShare
ReportReport
Posted on by 4

Hey Community,

 

I want to merge several Excel files which arrives via E-Mail. Excel file 1 arrives as an attachment of an e-mail. Store it on one drive. Excel file 2 arrives. Store it on one drive. Copy worksheet of file 1 to Master file, copy woksheet of file 2 to master file. Send an e-mail with the Master file as an attachment. Is this possible? How?

Categories:
I have the same question (0)
  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Sebastuan 

     

    If this data is not stored in a table in excel you cannot easily use the excel actions and so I think you need to investigate Office Scripts in Excel.  You can write a bespoke typescript / javascript process for Excel that can identify the range of rows in your sheet, return it to your Power Automate via the Excel Script and then write it back https://docs.microsoft.com/en-us/office/dev/scripts/resources/excel-samples.  

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Sebastuan 

     

    How are you getting on?

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

  • Sebastuan Profile Picture
    4 on at

    Thanks, but I think this is too complicated for me. I used Desktop Automation and execute a VBA macro. 

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard