#
function test9() { for (var score of Range("b2:b17")){ //遍历选中的列数据 if (score.Value2>=90){ //判断成绩是否大于90 Console.log("优秀") //判断大于90为优秀 } else { Console.log("普通") //判断不大于90为普通 } } } //注意 Value2 V为大写
Powered by: 博客园 Copyright © 2024 蓝绝 Powered by .NET 9.0 on Kubernetes