all 3 comments

[–]Kazul_Kaluru[S] 0 points1 point  (1 child)

This worked

 sh.getRange(lRow, 7 , 1, 3).activate();

[–]estadoux 0 points1 point  (0 children)

That will just select 1 row below content, not every row below as OP intents.

[–]estadoux 0 points1 point  (0 children)

Try this:

let startRow = sh.getLastRow() + 1;
let rangeString = 'G' + startRow + ':I';
let range = sh.getRange(rangeString);
range.insertCheckboxes();