Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88054

How to hide text in certain cells from a script?

$
0
0

Windows 10, Google Sheets, LVL: Rookie.

So I have a sheet, that is kinda like a scoreboard, the main purpose of it is to do scoreboard things, but that's irrelevant. Basically, for new people that use the sheet, I have green sentences near cells to show them what goes there, kinda like tutorials.

enter image description here

But, for people that have used the sheet for a while, they are going to get tired of all this extra space used up by green sentences that don't actually teach them anything cause they already know it.

SO I wanted to create a button from a UI box, that disables tutorials (Just hiding/deleting these green sentences), and whenever they wanted to see the tutorials "sentences" again, they could use another UI Button to enable them, which unhides/adds the text back in the cells.

I already have the UI Box setup...

enter image description here

The only thing I don't know how to do or what to code, is hiding/deleting these sentences, and being able to unhide/paste the sentences.

Now, if this can be done in an easy formula, please let me know, but otherwise, please help me write out a script for this. I will credit you if you wish.

Here is a link to a copy of the spreadsheet if it helps: https://docs.google.com/spreadsheets/d/11t9ldUxKKY3zzPXH0b2bodNPDrqLrxlKZKNQVU6DjRk/edit?usp=sharing


Viewing all articles
Browse latest Browse all 88054

Trending Articles