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 / Unhide the Excel sheet...
Power Automate
Unanswered

Unhide the Excel sheet using power automate

(0) ShareShare
ReportReport
Posted on by

Hi , I have a Excel with multiple sheets uploaded in sharepoint I need a flow which unhide the particular sheet from the other sheet.

Categories:
I have the same question (0)
  • rzaneti Profile Picture
    4,483 Super User 2026 Season 1 on at

    Hi @spandana9 ,

     

    Apparently we don't have a specific action to control the sheets visibility in Power Automate. However, if your organization rules allow, you can achieve this result by using an Office Script, which in summary is a Typescript code that performs a similar task to VBA (but in Excel Web and integrated with Power Automate).

     

    If this approach works for you, you can use this code to unhide a sheet (just change 'Sheet2' for the name of the sheet that you want to unhide):

    function main(workbook: ExcelScript.Workbook) {
     workbook.getWorksheet('Sheet2').setVisibility(ExcelScript.SheetVisibility.visible)
    }

     

    Also, I'm bringing some references about the Office Scripts and how to implement it with Power Automate:

     

    - Official docs: https://learn.microsoft.com/en-us/office/dev/scripts/overview/excel

    - Power Automate action: https://learn.microsoft.com/en-us/office/dev/scripts/develop/power-automate-integration 

    - VBA vs Office Scripts: http://digitalmill.net/2023/06/10/office-scripts-the-new-vba/ 

    - Getting started with Office Scripts: http://digitalmill.net/2023/06/19/get-started-with-office-scripts/ 

    - Returning data from Excel ranges with Office Scripts: http://digitalmill.net/2023/09/01/accessing-excel-ranges-with-power-automate/ 

     

    If you think that this approach makes sense for you, please share a little more context about how do you want to trigger this automation, so we cand build a flow design for you.

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 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard