-
-
Save iTrauco/9c90f4956369ab1178656405e4d78e8e to your computer and use it in GitHub Desktop.
Google apps script
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
if(rng[i]=="赤テキスト"){ | |
sht.getRange(i+4,4).setValue('赤文字').setHorizontalAlignment("center").setFontColor("red"); | |
}else if(rng[i]=="赤テキスト黄色塗り"){ | |
sht.getRange(i+4,4).setValue('赤&黄色').setHorizontalAlignment("center").setFontColor("red").setBackground(color); | |
}else{ | |
sht.getRange(i+4,4).setValue('青文字').setHorizontalAlignment("center").setFontColor("blue"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment