我正在尝试将注释与单元格值一起导入。我正在使用 importRage() 作为值。我还发现了以下应该获得评论的 Google Apps 脚本:
function importComments(spreadsheetKey,a1NotationReference) {
return SpreadsheetApp.openById(spreadsheetKey).getRange(a1NotationReference).getComments();
}
但是,每次运行它时,我都会收到“缺少形式参数”错误。
我也试过这样运行它,但没有运气/
function importComments(0AqvTp4ajjRSUdHYyV09QcWtnRFQ2SDUwSTF6OTBKQ0E,Overall!B2:I2) {
return SpreadsheetApp.openById(0AqvTp4ajjRSUdHYyV09QcWtnRFQ2SDUwSTF6OTBKQ0E).getRange(Overall!B2:I2).getComments();
};
任何帮助,将不胜感激!