I would like to be able to run a script in another spreadsheet outside of the current spreadsheet I am in.
I tried the below script but the script is not in the current spreadsheet editor
function RunScriptInAnotherSpreadsheet() {
var target = SpreadsheetApp.openById("sheetID");
//runs the below script
relocationtomaster();
}
am I dreaming ?
I understand a trigger would do that in the target sheet - just wanted to do it manually
any help would be appreciated