📅  最后修改于: 2022-03-11 14:57:10.144000             🧑  作者: Mango
let SS = APP.getActiveSpreadsheet();
let sheetIndex0 = SS.getSheets()[0];
sheetIndex0.getRangeList(['A1', 'B1:C7']).setHorizontalAlignment("center");