Updating an embedded sheet in a doc

16 views
Skip to first unread message

Roy Brophy

unread,
May 16, 2019, 11:52:46 AM5/16/19
to Google Apps Script Community
I have embedded a Google Sheet into a Google doc using copy & paste.

Unfortunately this doesn't update automatically, but needs an update button to be clicked on in the doc.

Is there some way I can do this with scripts? I would like to do this from a script in another spreadsheet.

Thanks,
Roy

Eric Koleda

unread,
May 22, 2019, 8:51:51 AM5/22/19
to Google Apps Script Community
Hi Roy,

Unfortunately that functionality currently isn't available in Apps Script for an API.

- Eric

Jonathan Butler

unread,
May 22, 2019, 10:10:26 AM5/22/19
to google-apps-sc...@googlegroups.com
This is just speculation. I haven't tested it out. But a google sheet is just an HTML table. So you can create a google add on that accesses a specific spreadsheet gets the cells and recreate the table in doc. You can find the appendTable method here

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/4f893bdb-0bfe-4cd7-ad0c-eca645ecb04c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages