HotXLS ドキュメント
目次
ホーム
概要
TGridToXLS
IXLSWorkbook
ホーム
目次
概要
Protect メソッド
変更できないようにワークシートを保護します
構文
procedure
Protect();
procedure
Protect(Password: string);
Password
String. String 指定します case-sensitive パスワード 向け ワークシート. If この argument です omitted, できます unprotect ワークシート なし 使用 パスワード. Otherwise, must specify パスワード へ unprotect ワークシート
使用例
TXLSWorksheet 保護権限プロパティ
TXLSWorksheet.IsProtected プロパティ
TXLSWorksheet.UnProtect メソッド
Workbook.Sheets[
1
].Protect(
'mypass123'
);
関連項目
TXLSWorksheet protection permission properties
TXLSWorksheet.IsProtectedプロパティ
TXLSWorksheet.UnProtectメソッド