I have a Google spreadsheet with many sheets and a table of contents. Is there some way to create a button in the main sheet so that with a click one can go directly to the cell in another sheet?
I figured out the way to make button and assigned the script to the button.
I modified a script to become like this, but I have problem on the last line, what should I do?
function goToSheet2b() {
goToSheet("8601-10!N1");
}
function goToSheet(sheetName) {
var sheet = SpreadsheetApp.getActive().getSheetByName(sheetName);
SpreadsheetApp.setActiveSheet(sheet);
}
PS: 8601-10 is the name of the other sheet I need to go to.
Thank you for your help.