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

MS Flow to copy Excel Workbook with MS Form field as name in Sharepoint

Hello,

 

I have an excel file in OneDrive/SharePoint that I would like to make a copy of each time a user completes a MS Form.

- The copied excel workbook should be saved with the name from the first field the user entered in the MS Form ("Project Name")

E.g., Project Name = "Test123" therefore the excel file would be saved as "Test123.xlsx"

 

I have created the form and set up a flow to copy the existing excel file but it returns an error before it saves the copied file.

 

Do you have any thoughts?

 

1 ACCEPTED SOLUTION

Accepted Solutions

hi @Dess  you can't copy in sharepoint a file to the same directory, what you can do is this.

file.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

4 REPLIES 4
ChristianAbata
Super User II
Super User II

hi @Dess  could you share an screnshot of what you are doing.?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Flow Detail.png

Currently, the file copy is failing at the destination folder.

 

Ideally, the excel file would by copied and saved as "Field1Response.xlsx" from the form that initiates the flow.

hi @Dess  you can't copy in sharepoint a file to the same directory, what you can do is this.

file.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

Fantastic, it worked! Thanks @ChristianAbata 

Here's the final flow should anyone else wish to replicate these steps.

Flow Detail.png

 

 The best part is that the excel workbook, which had formulas, tables, drop down lists, etc all remained intact. I was worried only static values would copy over. Thanks again

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (38,073)