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

使用例

この使用例は、ワークブックから保護を解除します

Workbook.UnProtect('mypass123');