Skip to main content

Notifications

Community site session details

Community site session details

Session Id : jNBf31/r/4lWKMpJznVJmg
Power Automate - Building Flows
Answered

Delete specific sheet within excel with flow

Like (0) ShareShare
ReportReport
Posted on 23 Mar 2021 13:41:15 by

Hello!

 

Is Flow able to identify sheets in excel and delete the first two sheets and keep the third sheet in the workbook? .

  • Verified answer
    Yutao Huang Profile Picture
    Microsoft Employee on 23 Mar 2021 at 22:20:52
    Re: Delete specific sheet within excel with flow

    One possible workaround (though may need a lot more extra effort) is to use an HTTP action to send a request to the Microsoft Graph API to delete the worksheet.

     

    There information might be helpful:

     


    Ask me about Office Scripts | Check out my Twitter / GitHub

  • Community Power Platform Member Profile Picture
    on 23 Mar 2021 at 19:02:29
    Re: Delete specific sheet within excel with flow

    Thank you but unfortunately office scripts are blocked by my corporation rules..any other solution?

  • Yutao Huang Profile Picture
    Microsoft Employee on 23 Mar 2021 at 17:49:04
    Re: Delete specific sheet within excel with flow

    It might be worth checking out Office Scripts, through which you can write some simple script code to do things like deleting worksheets.

     

    Please check out these articles to learn more about Office Scripts:

     

    And specifically, the worksheet.delete() method:

    ExcelScript.Worksheet interface - Office Scripts | Microsoft Docs

     

     

    Hope this helps!

    Yutao


    Ask me about Office Scripts | Check out my Twitter / GitHub

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 292 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 245 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 212

Overall leaderboard
Loading started