I recorded this macro and want it to be triggered when (in the current sheet) the cell B13=FALSE. Is that possible?
function LockIt() { var spreadsheet = SpreadsheetApp.getActive(); var protection = spreadsheet.getActiveSheet().protect(); protection.removeEditors(['sampleaddress1@gmail.com', 'sampleaddress1@gmail2.com', 'sampleaddress3@gmail.com']);};