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);
Also in JavaScript:
- find in js
- javascript hide element by class
- aliexpress affiliate
- array sorting javascript mergesort
- javascript filter array of objects
- js is empty object
- create react native app npx
- delete node between indexes node list js
- sum of odd numbers in an array javascript without loop
- for function js
- add discord.js library
- javascript reverse a string
- error page vue
- how to install node js in ubuntu
- jquery on dom change
- nodejs check if variable is undefined
- jsonobjectrequest
- SQL Developer store procedure insert json file to blob
- promise with params
- eslint ignore current line
- lodash npm
- classList has class
- how to send authorization in header of HTTP GET using ajax
- commander js