对不起,我认为这个问题对你来说很简单。
在 google 电子表格中,该值只能是数字(例如 1 或 245 或 100,234 )而不是文本。
我该怎么做这个控制?不是通过公式,而是通过代码。
我在尝试
var ss = SpreadsheetApp.getActiveSpreadsheet()
var nomefoglio = ss.getSheetName()
var cellaattiva =ss.getActiveRange()
var valore =cellaattiva.getValue()
if (valore ?????? ) {
cellaattiva.clear({contentsOnly:true})
Browser.msgBox("value not admitted")
}
我的问题是关于要放置什么命令??????
谢谢