'DeclarationSub Protect( _ ByVal password As System.String, _ ByVal protectStructure As System.Boolean, _ ByVal protectWindows As System.Boolean _ )
'UsageDim instance As IWorkbook Dim password As System.String Dim protectStructure As System.Boolean Dim protectWindows As System.Boolean instance.Protect(password, protectStructure, protectWindows)
void Protect( System.string password, System.bool protectStructure, System.bool protectWindows )
Parameters
- password
 - The password which will be required to unprotect the workbook.
 - protectStructure
 - Specifies whether the structure (number and order of worksheets) of this workbook may be changed.
 - protectWindows
 - Specifies whether the windows of this workbook are protected from changes.