I have a google script function that gets me a range from a google spreadsheet.
function getGrainWeights() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
return range = ss.getRangeByName("Brew_Grains");
}
This range is then processed by another function which modifies and upadtes the values in the range.
"Brew_Grains" is a named range in my spreadsheet but I would like to replace it with a discrete range such as "B2,C3,D10" etc. Is this possible, or is there some workaround? Cheers