I basically created a very long data range in google sheet which I added a simple hide-rows appscript for different conditions which I found in the internet. The appscript works fine and since the file is shared to all of my colleagues, I decided to add a button to which this appscript is assigned.
However, every time we try to print the worksheet, the button(s) appear. I searched if there's a way to hide these buttons so that it could be excluded when printing but to no avail.
So, I thought, maybe someone could help in assisting how to exclude or maybe hide these buttons when I try to print the file?