all.
Seen a lot of cut and paste Google Sheets scripts where all of them fundamentally fail due to the difference between copy from source + paste in destination + delete source
and cut source + paste in destination
. The difference being that the pasted content references the same cells as the original did. Copying in the same sheet results in copying the formula inside the cell and eventually increasing its non-fixed cell references' rows and columns. Pasting copied content on another sheet strikes another major difference between the aforementioned two operations - the pasted cells' formulas reference values from the destination sheet rather than from the source one.
What is the proper way to do a cut & paste of a Range
in Google Sheets as a script?
I saw only this as a viable answer but it is a network request, not Google Sheets script. It is probably possible to send a request from Sheets script but presumably there should be a more integrated way to do a cut & paste. Probably the HTTP request way is meant for external applications.