Showing results for 
Search instead for 
Did you mean: 
Not applicable

Saving specific Sheet from Workbook on SharePoint as new CSV file

Hi there,

I'm trying to set up a flow where a specific sheet within an Excel Workbook is copied/converted to a separate CSV file.


The overall goal is to set it up so that whenever any file is added or modified within SharePoint, the flow is triggered.

Currently, I've established that it needs to check to see if the file is an Excel file (xlsx or xlsm), and then see if any of the sheets inside that file have a specific name.


Here's where I'm stuck:

I'm unsure how to tell it to either copy JUST that sheet to a new excel file (which should then be converted to a csv file) or extract the data from that sheet to a newly created csv file. Since none of the sheets contain tables, I'm not sure how to tell it to get the rows from the sheet. Can I use the sheet ID from the "Get Worksheets" function in leiu of an actual table ID?


Any help is appreciated. Thank you!

Community Support
Community Support

Re: Saving specific Sheet from Workbook on SharePoint as new CSV file

Hi @Anonymous,


Please make sure to create table to the excel Workbook so that you could able to save the rows in a new CSV table.


Best regards,

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Not applicable

Re: Saving specific Sheet from Workbook on SharePoint as new CSV file

Thank you for your reply. The only problem is that I'm trying to compile data from more than 2 years back across numerous projects and clients. Manually collecting this data will likely take more manpower than we can afford at the time (as it's just me, and I'm already stretched thin as it is).


Do you happen to know if each individual sheet has a unique link? If so I think I may be able to extract the data that way.


Thanks again for your help so far.


Helpful resources


Super User Program Update

Three Super User rank tiers have been launched!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (7,671)