I have some items recorded
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
And this is what i have done. How to continue?
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheetByName("Sheet1");
range = sheet.getRange("A"+num+":D"+num+"");

