Ris*_* TT 2 google-apps-script
有没有办法使用以下appendRow代码将新附加的行号返回到 Google 工作表中?我可以保证工作表不会被排序,但我不能保证在调用工作表中的数据行数之前,工作表不会追加另一行。
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets()[0];
// Appends a new row with 3 columns to the bottom of the
// spreadsheet containing the values in the array
sheet.appendRow(["a man", "a plan", "panama"]);
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1562 次 |
| 最近记录: |