Created
February 12, 2022 14:20
-
-
Save Tomokatsu-Sakamoto/2b6021d6264c39ad7fae0e8d0b44cb99 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
/** @OnlyCurrentDoc */ | |
function myFunction() { | |
var spreadsheet = SpreadsheetApp.getActive(); | |
spreadsheet.getRange('A1').activate(); | |
spreadsheet.getCurrentCell().setValue('1'); | |
spreadsheet.getRange('B2').activate(); | |
spreadsheet.getCurrentCell().setValue('2'); | |
spreadsheet.getRange('C3').activate(); | |
spreadsheet.getCurrentCell().setValue('3'); | |
spreadsheet.getRange('C4').activate(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment