ลบการป้องกันออกจากสมุดงาน เมธอดนี้ไม่มีผลถ้าสมุดงานไม่ได้ถูกป้องกัน
ไวยากรณ์
procedure UnProtect();
procedure UnProtect(Password: string);
procedure UnProtect(Password: string; lcid: Integer);
| Password |
สตริง. สตริง that denotes case-sensitive password to ใช้ to unprotect เวิร์กบุ๊ก. หาก เวิร์กบุ๊ก isn't protected พร้อม password, this argument is ignored |
| lcid |
Integer. locale ID |
ตัวอย่าง
This example removes protection from the Workbook
Workbook.UnProtect('mypass123');