I do not believe this question has been answered elsewhere.
I am creating Google Sheets Document A and linking it via IMPORTRANGE back to Google Sheets Document B which contains the data.
Both of these are file type Google Sheets (not XLSX, etc).
During the IMPORTRANGE process, I must click the blue box in a cell on Document A that says, "Allow Access." This is working perfectly.
The problem happens when I create a duplicate copy document (right-click, "Make a Copy") of Document A
The duplicate document has lost its Access. Now I must go in and manually "Allow Access."
This is causing a larger problem because the original Document A is a template
Therefore... I do not want to continue pressing the "Allow Access" button each time I make a new copy from it!
Please help. I am willing to do Appscripts, Javascript or any other solution that works. Thanks!