I'm creating a sheet in which I want only a few people to access. What I have done is created a variable and set to 0. Set a calculation condition on the hidden sheet to be 1, so when you open the document the sheet isn't there. I then created a transparent button on a visible sheet to change the variable to 1 so the sheet appears and i added a trigger for onLeaveSheet -Set Variable to 0 so when I leave the sheet, the sheet should disappear but it doesn't.