HotXLS-dokumentasjon Innhold Hjem Oversikt TGridToXLS IXLSWorkbook Hjem Innhold Oversikt

Locked egenskap

True if the range is locked, False if the range can be modified when the sheet is protected. Read/write Boolean. Default value is True

Syntaks

property Locked: Boolean;

Eksempel

This example unlocks cells B5:F30 on sheet one so that they can be modified when the sheet is protected
Workbook.Sheets[1].Range['B5','F30'].Locked := false; Workbook.Sheets[1].Protect; Copyright © 2010-2026 losLab Software