When users copy a range manually from a spreadsheet and paste it into a Google Doc, it prompts the option to "link to spreadsheet" and "paste normally".
I needed to do the functionality of "linked to a spreadsheet using google apps script"
Use case context
We have a spreadsheet with a table we are trying to copy to our final document where the user can add additional stuff.
So if for any reason some value needs to change in the spreadsheet, our users just want to simply refresh the table data.


