Created
December 18, 2019 07:27
-
-
Save Crocmagnon/03486a36c9bb6b949f6fd07afce5207e to your computer and use it in GitHub Desktop.
Delete all images in a Google Spreadsheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function deleteImages() { | |
| var images = SpreadsheetApp.getActive().getImages(); | |
| for (var i = 0; i < images.length; i++) { | |
| var image = images[i]; | |
| image.remove(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment