Spreadsheet.Lock
This function locks the Spreadsheet to protect its contents. LockFlags are combinations of values from the enum SpreadsheetLockType.
| Syntax | Parameters | Return Value |
|---|---|---|
Sub Spreadsheet.Lock( _
Password As String, _
LockFlags As SpreadsheetLockType)
|
Type: String
Type: SpreadsheetLockType |
This function does not return a value. |