excel_protect_worksheet
Secure Excel worksheets with password protection to control user permissions for editing, formatting, and cell selection in financial spreadsheets.
Instructions
Protect a worksheet with a password
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allowFormatCells | No | ||
| allowFormatColumns | No | ||
| allowFormatRows | No | ||
| allowSelectLockedCells | No | ||
| allowSelectUnlockedCells | No | ||
| password | Yes | ||
| worksheetName | Yes |
Input Schema (JSON Schema)
{
"properties": {
"allowFormatCells": {
"default": false,
"type": "boolean"
},
"allowFormatColumns": {
"default": false,
"type": "boolean"
},
"allowFormatRows": {
"default": false,
"type": "boolean"
},
"allowSelectLockedCells": {
"default": true,
"type": "boolean"
},
"allowSelectUnlockedCells": {
"default": true,
"type": "boolean"
},
"password": {
"type": "string"
},
"worksheetName": {
"type": "string"
}
},
"required": [
"worksheetName",
"password"
],
"type": "object"
}