ActiveWorkbook.ActiveSheet.Protect设置保护工作表不生效

Viewed 15

const activeSheet = await app.ActiveWorkbook.ActiveSheet; const r = await activeSheet.Protect('123456');

Protect接口返回false,当前表格仍可编辑修改

0 Answers