0

I have a function that I use in multiple app scripts attached to multiple google sheets, I was wondering if I can change/edit this function in all the sheets at once using a function on a new app script?

Meaning I want to be able to edit the function on a sheet from another sheet, is that possible?

Amr
  • 35
  • 6
  • Does this answer your question? [Can a Google Apps Script edit another Script?](https://stackoverflow.com/questions/25880637/can-a-google-apps-script-edit-another-script) – theknightD2 Jul 18 '23 at 14:04
  • You can write a script with Apps Script API that can replace all or any of the function in a project. – Cooper Jul 18 '23 at 14:25
  • I think according to [this answer](https://stackoverflow.com/a/51188688/13771937) you can, but only through the Apps Script API (not through Apps Script itself). I would recommend if you find yourself using the same functions across GAS projects that you deploy them as a library that you share across files though. – Miguel Rivera Rios Jul 18 '23 at 22:51

0 Answers0