Hi Anthony, thanks for the help - that works fine! However, I've a couple of problems - one related to the image, one not, and I'd be grateful if you could help again!
The sheet is supposed to hold "current" data for each Ad, so as part of the script process I'm clearing all previous data content before writing out today's figures. This works fine for the text/numerical data but clear() seems to ignore the images, meaning that each run inserts another image in the same place. Is there a method to clear image content on the sheet?
The other problem I'm having is that sort() doesn't seem to be working - I've tried for a while now with all formats, and with ascending booleans/and not, etc. and the data seems totally unaffected. Any ideas?
Many thanks,
Jon