Created
August 4, 2018 13:18
-
-
Save oonisidesu/5a5c93492d5c93bf3a77d1c9a5a5451e to your computer and use it in GitHub Desktop.
This file contains 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 myFunction() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var lastRow = sheet.getLastRow(); | |
var i = 2; | |
while(sheet.getRange(i, 2).getValue()) { | |
i++; | |
} | |
Logger.log(sheet.getRange(i, 1).getValue()); | |
sheet.getRange(i, 2).setValue(true); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment