我正在编写一个脚本,该脚本根据每个组的第一个单元格为每个单元格设置条件格式。
For(i=0,i<10,i++)
/*
other part of the script
*/.whenFormulaSatisfied('=INDEX(A1)<0,5')
我想使用不同于A1notation的符号代替A1。我需要A1在每个循环C1,E1,G1等之后变为。
提前致谢
您还可以使用getA1Notation()
for (var i = 0; i<10; i+=2){
var cellNotation = sh.getRange(1,i+1).getA1Notation();
console.log(cellNotation)
}
结果
3:59:01 PM Info A1
3:59:01 PM Info C1
3:59:01 PM Info E1
3:59:01 PM Info G1
3:59:01 PM Info I1
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句