How to use a google apps script in multiple documents May 28, 2023 by Tarik Libraries were designed specifically for this situation… please have a look at the documentation here.