Is it necessary to replace setActiveCell with getActiveCell or setActiveRange?

Viewed 101

I've been trying the new IDE that Google Apps Script provided and it seems the new editor marked one of my scripts as an error that needs fixing (in a form of suggestion).

these are the suggestions

My question is, is it necessary to replace spreadsheet.setActiveCell() with spreadsheet.setActiveRange() or spreadsheet.getActiveRange() ?

Did Google remove this command specifically? Because I couldn't find setActiveCell() on the Apps Script Reference anymore and it didn't appear as fill-in options when writing within the editor (even when I'm reverting to the legacy one).

Note that the script works fine as it is supposed to.

1 Answers
Related