Is there a way to update a google sheet from a google doc that has been linked? Basically, I have a template google doc with a linked google sheet table. I have a script that makes a copy of the google doc when a form is submitted. The variables are then replaced by the appropriate form data.
When I'm ready, I update the google sheet with individual info and update the google doc. This works fine until I need to make changes to an older google doc ... but since my google docs are linked to the same sheet, I have to re-enter the info in the google sheet from the older google doc rather than just editing the google sheet. Is there a way to push data back from the google doc to the google sheet?
Or is there a way to insert & link a table from google sheet into a google doc with apps script? The only way I've found to link a sheet to a doc is using copy & paste ...