HotXLS ドキュメント

UnProtect メソッド

シートから保護を解除します。シートが保護されていない場合、このメソッドは効果がありません

構文

procedure UnProtect();
procedure UnProtect(Password: string);
procedure UnProtect(Password: string; lcid: Integer);
Password String. String denotes case-sensitive パスワード へ use へ unprotect シート. If シート isn't protected 使用 パスワード, この argument です ignored
lcid Integer. locale ID

使用例

この例では、ワークシート 1 から保護を解除します

Workbook.Sheets[1].Unprotect('mypass123');