web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create an Excel Workbook
Power Automate
Answered

Create an Excel Workbook

(0) ShareShare
ReportReport
Posted on by

Hello Community!

 

Is there a way to create a new Excel workbook in a recurrence flow? I need a new workbook created once a week if this is possible. 

 

Thank you,

Noah

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi @Noah100 !
    I would do the following: 

    efialttes_0-1692885327562.png

    I just got the expression to calculate week number from this topic as suggested by one of the best superusers: @Pstork1 
    I've just tested manually the recurrence flow, and verified w34 has been added to my excel

    efialttes_1-1692885641773.png

     


    Hope this helps!

  • Noah100 Profile Picture
    on at

    @efialttes 
    Will creating a new worksheet automatically create a new workbook? I need an entire new excel file to be created. 

  • Verified answer
    SamLed Profile Picture
    2,340 Moderator on at

    Hi Noah,

     

    There is no action to create a new Excel file (Workbook) from scratch, but I faced same need and I managed to solve that this way:

    • Create an Excel template file, store it in a template dedicated SharePoint library
    • Get content from template xslx, create new file in another location.
    • Work on newly created file to add data.

    ______________________________________________________________

    If I have answered your question, please Accept the post as solution.
    If you like my response, please Thumbs Up.

  • caseyisaac Profile Picture
    4 on at

    I would use the Compose option, use the dynamic data to have this separated by commas so that when the output is generated you have the data you want for a CSV format, then use craete file for One drive and in the file name, name it with a .CSV to make excel. 

  • SamLed Profile Picture
    2,340 Moderator on at

    Hi @caseyisaac,

     

    CSV file format is not an Excel native one, Excel can deal with CSV files but it won't convert it into Excel format until you save it as right format.

    So your solution don't create a new Excel workbook.

    ______________________________________________________________

    If I have answered your question, please Accept the post as solution.
    If you like my response, please Thumbs Up.

  • efialttes Profile Picture
    14,756 on at

    OOOps! My fault!
    In such case please follow @SamLed advise, as soon as you handle an excel file as a template, you can just create a new file taking the file template as the content basis.
    Assuming you are working with a Sharepoint site / Teams:

    efialttes_0-1692888076361.png

    Some time ago I published a post on how can you  create an Excel file from a template and add rows to a Table, all  in a single flow
    https://anyonecanautomate.com/power-automate-y-el-hechizo-para-crear-archivos-excel-1c5d20002287


    Hope this helps!

  • Noah100 Profile Picture
    on at

    @SamLed 
    Here is a screenshot of my flow and all it returns into my files on OneDrive is a text document. Is there something I am doing wrong? The Compose actions are just to get the Monday date and Friday date of any given week and the MonFri is (Monday Date) to (Friday Date) so that I can name my workbook that weeks date range.
    I used the file content of the Template workbook for file content in the create file action. Why did it only return a document?

    Noah100_0-1692888344226.pngNoah100_1-1692888375484.png

     

  • Verified answer
    SamLed Profile Picture
    2,340 Moderator on at

    Hi,

    Add .xslx after your outputs in the file name field of your create file action.

    ______________________________________________________________

    If I have answered your question, please Accept the post as solution.
    If you like my response, please Thumbs Up.

  • Noah100 Profile Picture
    on at

    @SamLed 
    Thank you, that worked out great!

  • caseyisaac Profile Picture
    4 on at

    Then I would use XLSX vs CSV

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard