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');