web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Automate merging a lot...
Power Automate
Unanswered

Automate merging a lot of individual excel files

(0) ShareShare
ReportReport
Posted on 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!

Categories:
I have the same question (0)
  • Srini007 Profile Picture
    3,327 Super User 2025 Season 2 on at

    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

  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Just2431 

    Here is a link to the documentation.  

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

     

     

  • Just2431 Profile Picture
    8 on at

    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

  • Just2431 Profile Picture
    8 on at

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

  • Srini007 Profile Picture
    3,327 Super User 2025 Season 2 on at

    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

     

     

     

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard