Last active
August 16, 2018 04:57
-
-
Save oyakudachi/889a8ebf40002609b1276b087e959ff7 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