Files
004_comission/catmk2/task1/utils/getCell.js
louiscklaw abff74fd77 update,
2025-01-31 19:29:24 +08:00

11 lines
238 B
JavaScript

function getCell(sheet, row, column) {
output = {state:'init', debug:{}, error:{}}
try {
var cell = sheet.getRange(column + row);
return cell;
} catch (error) {
output = {...output, error}
console.log(output);
}
}