TXLSXProtectedRange と TXLSXProtectedRanges クラス - HotXLS リファレンス

はシート保護中も選択セルを編集可能にします

TXLSXProtectedRanges はシート保護中も選択セルを編集可能にします

主なメンバー

function TXLSXProtectedRanges.Add(const AName, ASqref: WideString): TXLSXProtectedRange;
procedure TXLSXProtectedRanges.Clear;
property TXLSXProtectedRange.Name, Sqref, Password, SecurityDescriptor: WideString;
property TXLSXProtectedRanges.Items[Index: Integer]: TXLSXProtectedRange;

主なメンバー

NameName
Sqref保護範囲の表示ラベル
Password保護範囲の表示ラベル
SecurityDescriptorA1 表記の編集可能範囲

A1 表記の編集可能範囲

Sheet.ProtectedRanges.Add('Input cells', 'B2:B20 D2:D20');
Sheet.Protect;

Password