May 9, 2019
I need a script to clear certain cells in sheets when a button is pressed
https://docs.google.com/spreadsheets/d/12uRixdJLf2p5vPVPHMArHB8aoVsK6-Xyu8ISZCKJghk/edit?usp=sharing
This is the script that I found that I was basing my script on.
function clearRange() {
//replace 'Sheet1' with your actual sheet name
var sheet = SpreadsheetApp.getActive().getSheetByName('Sheet1');
sheet.getRange('B7:G7').clearContent();
}
(I assume that the text following the // is to be removed fromthe script as it is just directions?)
Details
Community content may not be verified or up-to-date. Learn more.
All Replies (63)