Posted 8 September 2017, 1:11 am EST
hello,
i’m testing at the moment the [js]deleteRows()[/js] method. When i delete one row ([js]deleteRows(2, 1)[/js]) or multiple ([js]deleteRows(2, 10)[/js]) it is working as expected but when i try the following the bahavior is strange:
[js]for (var i = 0; i < 10; i++) {
getActiveSheet().deleteRows(2 + i, 1);
}[/js]
Is there a other way to achieve this because i have multiple ranges on my sheet which i want to delete.
thanks in advance.