there is a way. ive done exactly what 3 years ago on the sheets.
if you submit newlines using google forms then there is no way.
if you are trying to programmatically update a range, there is no way either because named ranges must be removed and then added again, which causes #ref on the vault.
now for the good part. if you add a new script line, do not add it to the end. instead, hold the fake line at the end (with zero values, so it doesnβt affect the rotation) and insert a new line directly in front of it. your range (with or without a name) will be updated.
even for the case of Google forms, you can make it work by first adding all the empty lines to the answer sheet and make the named range empty too. enjoy it!
source share