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 / Action depending on th...
Power Automate
Unanswered

Action depending on the user who opens the file

(0) ShareShare
ReportReport
Posted on by 2
Hello!
 
I want to hide or unhide sheets in an Excel file depending on the user who opens the file.
 
Is this possible, and what could a potential solution look like?
I worked with VBA so far and there ists quite easy. I could not find a solution for the cloud version.
 
Thanks!
Martin
Categories:
I have the same question (0)
  • teylyn1 Profile Picture
    362 on at
    This is a forum for Power Automate. Your question cannot be addressed with Power Automate. 
     
    If you use Excel for the web, not in the app, and you can't use VBA, you may want to explore Office Scripts, which run in the browser.
  • MZ-12121806-0 Profile Picture
    2 on at
    Thank you for you reply. I already used the Office Scripts to hide or unhide sheet - that is not the problem. But with office scripts you cant identify the user who is opening the file - as far as i could find out. 
     
    So the quetion is:
    How to find out the user who is opening the file.
     
    Thanks.

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard