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)
  • Password [in]

Type: String

  • LockFlags [in]

Type: SpreadsheetLockType

This function does not return a value.