توثيق 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

مثال

This example removes protection from the Worksheet one

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