Protect Workbook and Sheet
Operation name
Protect Workbook and Sheet
Function overview
Protects an Excel workbook and its sheets with a write password.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
File |
Required |
Available |
Enter the file path of the Excel workbook. The Browse button launches a file chooser that allows you to select a file. |
Note
|
Workbook protection settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Set password to modify |
Optional |
Not available |
Select whether or not to protect the workbook with a write password.
|
|
User name |
Required |
Available |
Enter the user name who protects the workbook. |
|
Password to modify |
Required |
Available |
Enter the write password that is used to protect the workbook. |
|
Sheet protection settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Protect contents of worksheet and locked cells |
Optional |
Not available |
Select whether or not to protect the contents of the worksheet and locked cells.
|
|
Sheet name |
Required |
Available |
Select or enter the sheet to be protected in the Excel file specified in File. |
|
Password to unprotect sheet |
Optional |
Available |
Enter the password to unprotect the sheet. |
|
Operations to allow all users of worksheet |
Optional |
- |
For the worksheet specified in Sheet name, select operations to allow for all users. |
|
Operations to allow all users of worksheet/Allow |
Optional |
- |
Select operations from the Operation list to allow in the protected sheet.
|
|
Operation to allow all users of worksheet/Operation |
- |
- |
Operations that you can select whether or not to allow in the protected sheet are displayed.
|
|
Transaction
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Execute transaction processing |
Optional |
Not available |
Select whether or not to execute transaction processing.
= Remarks =
For details, refer to Transactions for the connectors in the File category. |
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Schemas
Input schema
None.
Output schema
None.
Transaction
Transaction is supported.
Transaction is enabled only when Execute transaction processing of Transaction is selected.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|