[]
Protects a chart so that it cannot be modified.
bool Protect(ChartLocks locks, string password)
Function Protect(locks As ChartLocks, password As String) As Boolean
| Type | Name | Description |
|---|---|---|
| ChartLocks | locks | A ChartLocks value indicates which data will be protected. |
| string | password | A string that specifies a case-sensitive password for the sheet. |
| Type | Description |
|---|---|
| bool |
|