Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Apply simple script to specific tabs in a Google Sheet (I know zero code)

$
0
0

I would like to run the following script to all but the last tab in a Google Sheet:

function ClearAll() {  var ss = SpreadsheetApp.getActiveSpreadsheet();  var sheetname = 'ScriptTest';  var sheet = ss.getSheetByName(sheetname);  var LR = sheet.getLastRow();  var range = sheet.getRange(1,1,LR);  range.uncheck();}

As you can see it is only referencing a single tab "ScriptTest".


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>