I am trying to create a script for a google form, so that it will delete all cells from A2 to J50. I need any cells except for the top-most row to be deleted every sunday (I think I can just use the event trigger, so I should just need the code to wipe all but that top row).
It is filled out with my correct sheet name, but I just get:
TypeError: Cannot call method "getRange" of null. (line 3, file "Code")
