Answers for "excel javascript api protect worksheet"

0

excel javascript api protect worksheet

Excel.run(function (context) {
    var activeSheet = context.workbook.worksheets.getActiveWorksheet();
    activeSheet.load("protection/protected");

    return context.sync().then(function() {
        if (!activeSheet.protection.protected) {
            activeSheet.protection.protect();
        }
    })
}).catch(errorHandlerFunction);
Posted by: Guest on May-11-2020

Code answers related to "excel javascript api protect worksheet"

Code answers related to "Javascript"

Browse Popular Code Answers by Language