[]
Returns a value indicating whether the workbook structure is protected.
When the workbook structure is protected, the order of worksheets cannot be changed until the protection is removed by using Unprotect(string).
public bool ProtectStructure { get; }
Public ReadOnly Property ProtectStructure As Boolean
worksheet.Range["A1"].Value = "Quarterly Report";
workbook.Protect(true);
bool protectStructure = workbook.ProtectStructure;