如果单元格值为“智能手机”,我想运行一个函数。我已经尝试了几种写这个的方法,但它一直失败并且无法找出正确的输入方法。
function ifTest(event){
if(SpreadsheetApp.getActiveSheet().getRange("B11").getValue() = "Smartphone"){ // mobile phone check
emailMobileRequired(); // Launches the script
}
}
如果单元格值为“智能手机”,我想运行一个函数。我已经尝试了几种写这个的方法,但它一直失败并且无法找出正确的输入方法。
function ifTest(event){
if(SpreadsheetApp.getActiveSheet().getRange("B11").getValue() = "Smartphone"){ // mobile phone check
emailMobileRequired(); // Launches the script
}
}