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

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

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

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (8,959)