I have written a little bit of Apps Script code for a spreadsheet that calculates price based on a cost value (and some other things). The script works perfectly for the spreadsheet that it was attached to, but I'd like to use this same code across about forty other spreadsheets. Since the values may change over time, I'd like all of the spreadsheets to reference the same custom function file so that I can make an edit once and affect all of the spreadsheets at the same time.
Is there something blatant that I am missing?
I have tried importing as a Macro but that seems to only show up as an option occasionally. I have also tried deploying my Apps script but cannot seem to be able to reference it in each individual Sheet.