У меня есть записи
![My spreadsheet](https://i.stack.imgur.com/8idvB.png)
How to programmatically clear all the lines, starting from the second line, i mean except from the bold titles (NAME,BARCODE,QUANTITY,PRICE)?
This is my goal
И вот что я сделал. Как продолжить?
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheetByName("Sheet1");
range = sheet.getRange("A"+num+":D"+num+"");