cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Copy Content from Excel to Excel (Dynamic)

Hello together,

 

I plan to copy some tables and rows from an Excel-File to another Excel-File which should be empty (template). This should happen one time per year. After successfully copying the data, the target-Excel-File should be renamed with the actual year at the ending of the file name.

 

I need to do this dynamic (the target file changes the name every year (final_file_2020.xlsx, final_file_2021.xlsx,...)

I haven't found any possibility to realise my plan. 

 

template_copy.JPG

 

Attached is a small view how it looks at the moment. 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

Re: Copy Content from Excel to Excel (Dynamic)

Hi @breater 

 

there is no excel action that allows you to rename the excel file but I can see that you are storing the excel in one drive. You can get the file using the one drive actions and rename that file (as one drive for business has that action to rename a file). You can also get the file content and create a new file with the desired filename and delete the previous file for such a scenario. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Copy Content from Excel to Excel (Dynamic)

hi @breater  unfortunally in my experience you can't rename a created file.



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
Highlighted
Dual Super User III
Dual Super User III

Re: Copy Content from Excel to Excel (Dynamic)

Hi @breater 

 

there is no excel action that allows you to rename the excel file but I can see that you are storing the excel in one drive. You can get the file using the one drive actions and rename that file (as one drive for business has that action to rename a file). You can also get the file content and create a new file with the desired filename and delete the previous file for such a scenario. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

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 (3,467)