sheetFunction {
var sourceFile = SpreadsheetApp.openById("1asdasdasdasdasd");
// Set sheet
var masterSheet = sourceFile.getSheetByName("Master");
masterSheet.activate
}
cellFunction {
var sourceFile = SpreadsheetApp.openById("1asdasdasdasdasd");
// Set sheet
var masterSheet = sourceFile.getSheetByName("Master");
masterSheet.getRange("A1").activate
}
I'm starting out on google scripts and trying to create some simple functions. Was referring to some functions over the net. What does the activate mean in the 1sheetFunction and what is the difference with cellFunction?