HotXLS Docs

IsWriteReserved property

Returns True when the Workbook carries a write reservation (FILESHARING record). Read-only Boolean

Syntax

property IsWriteReserved: boolean;

Remarks

A write reservation is created by calling SetModifyPassword, or is already present on a Workbook opened from a file that Excel saved with write-reservation protection

Example

This example checks whether the opened Workbook is write-reserved

if Workbook.IsWriteReserved then
  ShowMessage('This workbook is write-reserved');