Hi I have linked objects in Google slides that come from sheets and I want it to automatically update the objects when a change is made in sheets. There are countless websites saying it's easy: tools > linked objects > update all. But this is not automatically done. I really need it to automatically update. They say it can be done with scripts but haven't found a script that works.
Here's the latest script that I was found but still, it's not updating automatically
function refreshChartsOnChange(){
var getSlides = SlidesApp.openById('SLIDE-ID').getSlides();
for (var i = 0; i < getSlides.length; i++) {
var slide = getSlides[i];
var sheetCharts = slide.getSheetsCharts();
for (var j = 0; j < sheetCharts.length; j++) {
var sheetChart= sheetCharts[j];
sheetChart.refresh();
}
}
I really need this and PLEASE do not tell me to manually go through the menu and press the 'update all' as this is useless to me for my needs. Thanks.