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