google scripts get all cell in a row code example Example: cell get row google script var cell = sheet1.getActiveCell(); var SelectRow = cell.getRow();