I have several sheets set up to do a variety of things. I have a control sheet that looks to do things with these sheets, one of which would be to run a script that is in the target sheet (so not the control sheet). Is there a way in which I can get the control sheet to run the target sheet script?
For example, within Target Sheet "TargetOne", I've got attached code that runs "SubroutineOne".
function SubroutineOne() {
doSomething();
}
And in the Control Sheet I'd want to have something like this.
function ControlCode() {
setSomething();
run TargetSheet.SubroutineOne();
reportSomething();
}
Is there anyway of doing that? Thanks for reading.