function myFunction() {
const ss = SpreadsheetApp.getActiveSpreadsheet();
const sheet = ss.getSheetByName('Página4');
const rangeList = ss.getRange('F1').getValue();
valor = "[" + rangeList.toString() + "]";
console.log(valor);
sheet.getRangeList(valor).activate;
}