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 / Copy and Paste all fil...
Power Automate
Answered

Copy and Paste all files in one

(1) ShareShare
ReportReport
Posted on by 6
Good afternoon, everyone well?
 
I have 200 excel files in csv and I need to put them all together, that is, create a flow, where the robot searches my file folder, copies the excel cells and pastes them into a new excel file (xlsx) and does this to all 200 files. 
Can anyone help me?
 
 
Categories:
I have the same question (0)
  • Verified answer
    Robu1 Profile Picture
    1,461 Super User 2025 Season 2 on at
     
    Thank you for choosing Microsoft Community.
     
    You can use Power Automate to create a flow that will combine all your CSV files into a single Excel file. Here's a step-by-step guide to get you started:
     
    Create a new flow: Open Power Automate and create a new flow.
     
    Trigger: Use the "Recurrence" trigger to run the flow at a specific interval or use the "When a file is created or modified" trigger if you want the flow to run whenever a new file is added to the folder.
     
    List files in folder: Use the "List files in folder" action to get all the CSV files in your folder.
     
    Apply to each: Add an "Apply to each" action to loop through each file.
     
    Get file content: Inside the loop, use the "Get file content" action to read the content of each CSV file.
     
    Create table: Use the "Create table" action to convert the CSV content into a table.
     
    Append to Excel: Use the "Append to Excel" action to add the table to your new Excel file.
     
    This should give you a good starting point. If you need more detailed instructions, you can find them below.
     
     
     
    If this fixes the issue, please mark as resolved to help others with find it.
     
    Happy to help 

    Robu 1

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard