public void LockStructure() { CreateProtectionFieldIfNotPresent(); workbook.workbookProtection.lockStructure = (true); }