cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

How to make new excel by ms flow

Hi all

I want to make flow that can trigger when I add excel into sharepoint. After than, the flow get some worksheet from the excel, and add into new excel or existed excel in other folder.

Hot can I do?

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: How to make new excel by ms flow

Hi @NewOne,

 

I have made a test on my side. Currently, there is no trigger that can trigger Flow when adding excel files to SharePoint.

But you could first configure When a file is created, and then use Condition to determine whether the file extension contains ".xlsx".  If include, continue to execute Flow.

In addition, we could use Get worksheets to get all the worksheets, but can't add them to other excel files.

If you want to the function to be supported in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

Maybe you could consider using Get file content-Create file to achieve your needs. This is equivalent to adding everything in the uploaded excel file to a new excel file.

Image reference:

45.PNG

Expression:

endsWith(triggerBody()?['{FilenameWithExtension}'],'.xlsx')

 

Best Regards,

Barry

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

Re: How to make new excel by ms flow

Hello, @NewOne!

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-bacao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

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

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (10,206)