var spreadsheet = SpreadsheetApp.getActive();
spreadsheet.getRangeList(['A4', 'A8', 'A13', 'A19', 'A23']).activate()
.setFontColor('#ff0000');
function rePaint() {
SpreadsheetApp.getActive().getActiveRangeList().setBackground('#ff9900');
};
function ColorRange(){
const sheet1 = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Прейскурант товаров");
//sheet1.getActiveRange().setFontColor('#00ff00');
sheet1.getActive().getActiveRangeList().setFontColor('#00ff00');
};
function ColorRange(){
const sheet1 = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Прейскурант товаров");
sheet1.getActiveRangeList().setFontColor('#00ff00');
};