{"id":3799,"date":"2022-02-05T21:09:57","date_gmt":"2022-02-05T15:39:57","guid":{"rendered":"https:\/\/codingislove.com\/?p=3799"},"modified":"2022-02-05T21:09:58","modified_gmt":"2022-02-05T15:39:58","slug":"apps-script-delete-comments","status":"publish","type":"post","link":"https:\/\/codingislove.com\/apps-script-delete-comments\/","title":{"rendered":"Apps script to delete resolved comments in google sheets? |  Answering viewers questions"},"content":{"rendered":"\n<p>This is a new series called &#8220;Answering viewers coding questions&#8221;. Someone has requested me for an answer on Quora &#8211; &#8220;What is an apps script to delete resolved comments in google sheets&#8221;. <\/p>\n\n\n\n<p>I thought that the answer would also serve as a glimpse for all the viewers about apps script and how it can be used to automate certain tasks in google sheets.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"What is an apps script to delete resolved comments in google sheets? |  Answering viewers questions\" width=\"790\" height=\"444\" src=\"https:\/\/www.youtube.com\/embed\/OIei2ir5sLk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n<div style=\"margin-top: 15px; margin-bottom: 15px;\" class=\"sharethis-inline-share-buttons\" ><\/div>","protected":false},"excerpt":{"rendered":"<p>This is a new series called &#8220;Answering viewers coding questions&#8221;. Someone has requested me for an answer on Quora &#8211; &#8220;What is an apps script&hellip; <\/p>\n","protected":false},"author":1,"featured_media":3800,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[11,15,10],"class_list":["post-3799","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-excel","tag-google-sheets","tag-javascript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Apps script to delete resolved comments in google sheets? | Answering viewers questions - Coding is Love<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codingislove.com\/apps-script-delete-comments\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apps script to delete resolved comments in google sheets? | Answering viewers questions - Coding is Love\" \/>\n<meta property=\"og:description\" content=\"This is a new series called &#8220;Answering viewers coding questions&#8221;. Someone has requested me for an answer on Quora &#8211; &#8220;What is an apps script&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codingislove.com\/apps-script-delete-comments\/\" \/>\n<meta property=\"og:site_name\" content=\"Coding is Love\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/codingislove\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ranjithkumar10\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-05T15:39:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-05T15:39:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codingislove.com\/wp-content\/uploads\/2022\/02\/Answering-viewers-coding-questions.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ranjith kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codingislove\" \/>\n<meta name=\"twitter:site\" content=\"@codingislove\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ranjith kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codingislove.com\/apps-script-delete-comments\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codingislove.com\/apps-script-delete-comments\/\"},\"author\":{\"name\":\"Ranjith kumar\",\"@id\":\"https:\/\/codingislove.com\/#\/schema\/person\/ecb142505163b016d59bfbe662af587e\"},\"headline\":\"Apps script to delete resolved comments in google sheets? | Answering viewers questions\",\"datePublished\":\"2022-02-05T15:39:57+00:00\",\"dateModified\":\"2022-02-05T15:39:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codingislove.com\/apps-script-delete-comments\/\"},\"wordCount\":84,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codingislove.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codingislove.com\/apps-script-delete-comments\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codingislove.com\/wp-content\/uploads\/2022\/02\/Answering-viewers-coding-questions.png\",\"keywords\":[\"Excel\",\"Google sheets\",\"Javascript\"],\"articleSection\":[\"Coding Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codingislove.com\/apps-script-delete-comments\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codingislove.com\/apps-script-delete-comments\/\",\"url\":\"https:\/\/codingislove.com\/apps-script-delete-comments\/\",\"name\":\"Apps script to delete resolved comments in google sheets? | Answering viewers questions - Coding is Love\",\"isPartOf\":{\"@id\":\"https:\/\/codingislove.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codingislove.com\/apps-script-delete-comments\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codingislove.com\/apps-script-delete-comments\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codingislove.com\/wp-content\/uploads\/2022\/02\/Answering-viewers-coding-questions.png\",\"datePublished\":\"2022-02-05T15:39:57+00:00\",\"dateModified\":\"2022-02-05T15:39:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/codingislove.com\/apps-script-delete-comments\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codingislove.com\/apps-script-delete-comments\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codingislove.com\/apps-script-delete-comments\/#primaryimage\",\"url\":\"https:\/\/codingislove.com\/wp-content\/uploads\/2022\/02\/Answering-viewers-coding-questions.png\",\"contentUrl\":\"https:\/\/codingislove.com\/wp-content\/uploads\/2022\/02\/Answering-viewers-coding-questions.png\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codingislove.com\/apps-script-delete-comments\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Coding is Love\",\"item\":\"https:\/\/codingislove.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Coding Tutorials\",\"item\":\"https:\/\/codingislove.com\/category\/tutorials\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Apps script to delete resolved comments in google sheets? | Answering viewers questions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codingislove.com\/#website\",\"url\":\"https:\/\/codingislove.com\/\",\"name\":\"Coding is Love\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/codingislove.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codingislove.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codingislove.com\/#organization\",\"name\":\"Coding is Love\",\"url\":\"https:\/\/codingislove.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codingislove.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/codingislove.com\/wp-content\/uploads\/2015\/12\/codinglovenew.png\",\"contentUrl\":\"https:\/\/codingislove.com\/wp-content\/uploads\/2015\/12\/codinglovenew.png\",\"width\":300,\"height\":225,\"caption\":\"Coding is Love\"},\"image\":{\"@id\":\"https:\/\/codingislove.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/codingislove\/\",\"https:\/\/x.com\/codingislove\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codingislove.com\/#\/schema\/person\/ecb142505163b016d59bfbe662af587e\",\"name\":\"Ranjith kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codingislove.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f5486247269539c638227e6213187139cc7460eeb16d789fa757485f1d2b87f0?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f5486247269539c638227e6213187139cc7460eeb16d789fa757485f1d2b87f0?s=96&d=wavatar&r=g\",\"caption\":\"Ranjith kumar\"},\"description\":\"A CA- by education, self taught coder by passion, loves to explore new technologies and believes in learn by doing.\",\"sameAs\":[\"https:\/\/www.facebook.com\/ranjithkumar10\",\"https:\/\/www.instagram.com\/livin_on_d_edge\/\",\"https:\/\/www.linkedin.com\/in\/ranjithkumar10\",\"https:\/\/www.youtube.com\/c\/codingislove01\"],\"url\":\"https:\/\/codingislove.com\/author\/ranjithkumar10\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Apps script to delete resolved comments in google sheets? | Answering viewers questions - Coding is Love","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codingislove.com\/apps-script-delete-comments\/","og_locale":"en_US","og_type":"article","og_title":"Apps script to delete resolved comments in google sheets? | Answering viewers questions - Coding is Love","og_description":"This is a new series called &#8220;Answering viewers coding questions&#8221;. Someone has requested me for an answer on Quora &#8211; &#8220;What is an apps script&hellip;","og_url":"https:\/\/codingislove.com\/apps-script-delete-comments\/","og_site_name":"Coding is Love","article_publisher":"https:\/\/facebook.com\/codingislove\/","article_author":"https:\/\/www.facebook.com\/ranjithkumar10","article_published_time":"2022-02-05T15:39:57+00:00","article_modified_time":"2022-02-05T15:39:58+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/codingislove.com\/wp-content\/uploads\/2022\/02\/Answering-viewers-coding-questions.png","type":"image\/png"}],"author":"Ranjith kumar","twitter_card":"summary_large_image","twitter_creator":"@codingislove","twitter_site":"@codingislove","twitter_misc":{"Written by":"Ranjith kumar","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codingislove.com\/apps-script-delete-comments\/#article","isPartOf":{"@id":"https:\/\/codingislove.com\/apps-script-delete-comments\/"},"author":{"name":"Ranjith kumar","@id":"https:\/\/codingislove.com\/#\/schema\/person\/ecb142505163b016d59bfbe662af587e"},"headline":"Apps script to delete resolved comments in google sheets? | Answering viewers questions","datePublished":"2022-02-05T15:39:57+00:00","dateModified":"2022-02-05T15:39:58+00:00","mainEntityOfPage":{"@id":"https:\/\/codingislove.com\/apps-script-delete-comments\/"},"wordCount":84,"commentCount":0,"publisher":{"@id":"https:\/\/codingislove.com\/#organization"},"image":{"@id":"https:\/\/codingislove.com\/apps-script-delete-comments\/#primaryimage"},"thumbnailUrl":"https:\/\/codingislove.com\/wp-content\/uploads\/2022\/02\/Answering-viewers-coding-questions.png","keywords":["Excel","Google sheets","Javascript"],"articleSection":["Coding Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codingislove.com\/apps-script-delete-comments\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codingislove.com\/apps-script-delete-comments\/","url":"https:\/\/codingislove.com\/apps-script-delete-comments\/","name":"Apps script to delete resolved comments in google sheets? | Answering viewers questions - Coding is Love","isPartOf":{"@id":"https:\/\/codingislove.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codingislove.com\/apps-script-delete-comments\/#primaryimage"},"image":{"@id":"https:\/\/codingislove.com\/apps-script-delete-comments\/#primaryimage"},"thumbnailUrl":"https:\/\/codingislove.com\/wp-content\/uploads\/2022\/02\/Answering-viewers-coding-questions.png","datePublished":"2022-02-05T15:39:57+00:00","dateModified":"2022-02-05T15:39:58+00:00","breadcrumb":{"@id":"https:\/\/codingislove.com\/apps-script-delete-comments\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codingislove.com\/apps-script-delete-comments\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codingislove.com\/apps-script-delete-comments\/#primaryimage","url":"https:\/\/codingislove.com\/wp-content\/uploads\/2022\/02\/Answering-viewers-coding-questions.png","contentUrl":"https:\/\/codingislove.com\/wp-content\/uploads\/2022\/02\/Answering-viewers-coding-questions.png","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/codingislove.com\/apps-script-delete-comments\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Coding is Love","item":"https:\/\/codingislove.com\/"},{"@type":"ListItem","position":2,"name":"Coding Tutorials","item":"https:\/\/codingislove.com\/category\/tutorials\/"},{"@type":"ListItem","position":3,"name":"Apps script to delete resolved comments in google sheets? | Answering viewers questions"}]},{"@type":"WebSite","@id":"https:\/\/codingislove.com\/#website","url":"https:\/\/codingislove.com\/","name":"Coding is Love","description":"","publisher":{"@id":"https:\/\/codingislove.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codingislove.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codingislove.com\/#organization","name":"Coding is Love","url":"https:\/\/codingislove.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codingislove.com\/#\/schema\/logo\/image\/","url":"https:\/\/codingislove.com\/wp-content\/uploads\/2015\/12\/codinglovenew.png","contentUrl":"https:\/\/codingislove.com\/wp-content\/uploads\/2015\/12\/codinglovenew.png","width":300,"height":225,"caption":"Coding is Love"},"image":{"@id":"https:\/\/codingislove.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/codingislove\/","https:\/\/x.com\/codingislove"]},{"@type":"Person","@id":"https:\/\/codingislove.com\/#\/schema\/person\/ecb142505163b016d59bfbe662af587e","name":"Ranjith kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codingislove.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f5486247269539c638227e6213187139cc7460eeb16d789fa757485f1d2b87f0?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f5486247269539c638227e6213187139cc7460eeb16d789fa757485f1d2b87f0?s=96&d=wavatar&r=g","caption":"Ranjith kumar"},"description":"A CA- by education, self taught coder by passion, loves to explore new technologies and believes in learn by doing.","sameAs":["https:\/\/www.facebook.com\/ranjithkumar10","https:\/\/www.instagram.com\/livin_on_d_edge\/","https:\/\/www.linkedin.com\/in\/ranjithkumar10","https:\/\/www.youtube.com\/c\/codingislove01"],"url":"https:\/\/codingislove.com\/author\/ranjithkumar10\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/codingislove.com\/wp-content\/uploads\/2022\/02\/Answering-viewers-coding-questions.png","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/codingislove.com\/wp-json\/wp\/v2\/posts\/3799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codingislove.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codingislove.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codingislove.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codingislove.com\/wp-json\/wp\/v2\/comments?post=3799"}],"version-history":[{"count":1,"href":"https:\/\/codingislove.com\/wp-json\/wp\/v2\/posts\/3799\/revisions"}],"predecessor-version":[{"id":3801,"href":"https:\/\/codingislove.com\/wp-json\/wp\/v2\/posts\/3799\/revisions\/3801"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codingislove.com\/wp-json\/wp\/v2\/media\/3800"}],"wp:attachment":[{"href":"https:\/\/codingislove.com\/wp-json\/wp\/v2\/media?parent=3799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codingislove.com\/wp-json\/wp\/v2\/categories?post=3799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codingislove.com\/wp-json\/wp\/v2\/tags?post=3799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}