Last active
July 13, 2016 10:58
-
-
Save peko/244750034e48d4a0849c8f3362892788 to your computer and use it in GitHub Desktop.
change.js
This file contains hidden or 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 onEdit(e){ | |
| if(e) { | |
| var range = e.range; | |
| if(range.getA1Notation() == "A1") { | |
| for(var i=2; i<=10; i++) { | |
| SpreadsheetApp.getActiveSheet().getRange('A'+i).setValue(e.value); | |
| Utilities.sleep(5000); | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment