title: New Google spreadsheet onEdit set focus to a cell not working
body: <p>If I type a ID in column1, I am trying to get the some text related to that ID and show in column2 and set the focus to column3. This worked perfectly so far and the code is given below. Now I migrated to the new google spread sheet and the focus part is not working. As per the below link this feature is now removed. Is there any other way to do this please?</p>
  
  <pre><code>function onEdit(event)
  {
    //Removed some other code for clarity.
  
    RangeTest();
  }
  
  
  
  function RangeTest()
  {
     var ss = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Sheet1");
     var nextTarget = ss.getRange(2, 2);
     ss.setActiveRange(nextTarget);   
     Logger.log("Focus Set");
  }
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/23300587/sheet-setactiverange-seems-to-have-stopped-working-with-onopen-trigger">&lt;sheet&gt;.setActiveRange() seems to have stopped working with onOpen trigger</a></p>
  
  <p><a href="https://stackoverflow.com/questions/22333232/google-script-onedit-problems">Google Script - OnEdit problems</a></p>
  
  <p><a href="https://stackoverflow.com/questions/16702386/google-sheets-getactiverange-on-change">Google Sheets getActiveRange on change</a></p>