Skip to main content

Notifications

Community site session details

Community site session details

Session Id : nlaUEL6d3wXEMjmbnCmke3
Power Automate - General Discussion
Unanswered

Automate merging a lot of individual excel files

Like (0) ShareShare
ReportReport
Posted on 13 May 2024 15:52:05 by 8

Hello,

I am new to power automate and I found a good solution online to my need. Unfortunately, the steps aren't clear to me. I pasted the steps below: 

  1. Create a new Excel file in your OneDrive. The file name "Combination.xlsx" is used in this sample.
  2. Create and save the two scripts from this sample.
  3. Create a folder in your OneDrive and add one or more workbooks with data to it. The folder name "output" is used in this sample.

My question is in regards to the step 2, what do I use to write those scripts and here do i save them? In the same folder with all my files or to the new folder where the files will be merged. Any help is greatly appreciated!

Thank you!

  • SriniK Profile Picture
    3,025 Super User 2025 Season 1 on 13 May 2024 at 16:11:21
    Re: Automate merging a lot of individual excel files

    Hi @Just2431 

     

    So you need to run the script where the script is also already given

    So, more details about the Office Script you can refer the documentation link which was shared by @ScottShearer 

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Cheers,

    Srini

     

     

     

     

     

  • Just2431 Profile Picture
    8 on 13 May 2024 at 16:06:00
    Re: Automate merging a lot of individual excel files

    Thank you for this link. This will give me an answer to my question. 

  • Just2431 Profile Picture
    8 on 13 May 2024 at 16:03:53
    Re: Automate merging a lot of individual excel files

    this is the link to the resources that I am trying to use https://learn.microsoft.com/en-us/office/dev/scripts/resources/samples/combine-worksheets-into-single-workbook

  • ScottShearer Profile Picture
    25,212 Most Valuable Professional on 13 May 2024 at 16:02:42
    Re: Automate merging a lot of individual excel files

    @Just2431 

    Here is a link to the documentation.  

    You'll find the answer to your question and more if you follow the link.

     

     

  • SriniK Profile Picture
    3,025 Super User 2025 Season 1 on 13 May 2024 at 16:00:22
    Re: Automate merging a lot of individual excel files

    Hi @Just2431 

     

    It's better if you keep the source link so that we can also understand what script you are talking about

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Cheers,

    Srini

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard