Fre*_*des 5 protection google-sheets google-apps-script
我有一个脚本可以自动保护我的工作表中的一系列过去日期。
我用标准 sheet.getProtections(SpreadsheetApp.ProtectionType.RANGE);
它工作了好几个月,但从昨天开始就没有工作了。
对实现有任何修改吗?
谢谢
PS:工作表对象在我的测试中很好地返回
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("TRAVAUX");
var debug = sheet.getName();
var protections = sheet.getProtections(SpreadsheetApp.ProtectionType.RANGE);
Run Code Online (Sandbox Code Playgroud)
运行该函数时的错误信息
服务错误:电子表格
归档时间: |
|
查看次数: |
497 次 |
最近记录: |