Table of Contents

Property HonorProtection

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

HonorProtection

Gets or sets whether edits honour sheet protection (Phase 215): on a protected sheet a locked cell's value or formula is refused, and so is a change of look unless the sheet allows formatting cells, with InvalidOperationException. False by default: protection is a flag for Excel's interface, not security, and the library edits a protected sheet as Excel's object model does after unprotecting it.

public bool HonorProtection { get; set; }

Property Value

bool