I work for a company that is very google-centric.
I want to reuse google apps script code between google sheets (but only specific google sheets). Only people within the company should have access to this script. When a copy of a google sheet with attached code is made, the code should copy (currently only the main file copies when I do this, for some reason). No other sheet should have this code attached.
Ideally, though I guess this may be unrelated, I want to store the code in our internal repository.
How would I do this?
Thank you!
Similar: Distributing Google Apps Scripts for Sheets in your company network (but I don't want it installed on all google sheets, just ones I chose and copies of those).