get active spreadsheet row google script code example
Example 1: cell get row google script
var cell = sheet1.getActiveCell();
var SelectRow = cell.getRow();
Example 2: get active sheet google script
SpreadsheetApp.getActiveSheet()
var cell = sheet1.getActiveCell();
var SelectRow = cell.getRow();
SpreadsheetApp.getActiveSheet()