📜  删除行应用程序脚本 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:23.606000             🧑  作者: Mango

代码示例1
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets()[0];
// Rows start at "1" - this deletes the first two rows
sheet.deleteRows(1, 2);