📌  相关文章
📜  谷歌脚本获取工作表大小 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:44.590000             🧑  作者: Mango

代码示例3
// This example assumes there is a sheet named "first"
var ss = SpreadsheetApp.getActiveSpreadsheet();
var first = ss.getSheetByName("first");
Logger.log(first.getMaxColumns());
// getMaxColumns() returns the current number of columns in the sheet,
// regardless of content.