I had two similar applications that stopped functioning correctly. Both use the method, 'getRowIndex' and will no longer populate a variable for the position of my cursor with the active row positions. Has anyone experienced this? It looks like Google changed the way the getRowIndex function works within Google Apps Script. Any help with this is greatly appreciated. Below is a copy of my code where the problem is occurring.
var sheet1 = SpreadsheetApp.getActiveSheet();
var row1 = sheet1.getActiveRange().getRowIndex();
In the above example row1 always takes the value of 1 as if the cursor is on the first row which is not the case.
Thank you in advace for you time to help with this. Jeff