Answer the question
In order to leave comments, you need to log in
How to pull comments from another Google Sheets?
The task is to pull notes from another table. I don't know how to do it. Could you explain?
Inside one table code:
function getNotes(sheetName, rangeName){
return SpreadsheetApp.getActiveSpreadsheet()
.getSheetByName(sheetName).getRange(rangeName).getNotes()
}
=getNotes("***";"***")
works with a bang. But what about notes from another table? (( SpreadsheetApp.getActiveSpreadsheet
to replace it with SpreadsheetApp.openById
, but it doesn’t work like that.
Answer the question
In order to leave comments, you need to log in
Judging by the comments, an error is returned
Exception: You do not have permission to call SpreadsheetApp.openById. Required permissions: https://www.googleapis.com/auth/spreadsheets
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question