I'm trying to create a script that allows you to copy the value of one table (that have a variety of formulae in it) into a different table automatically on Sunday nights.
You can find sheet I'm making here. The content of sheet1's table is what I want copied over to the table in sheet 3, under 'stock tea'.
Try the following code: