How to: Protect Workbooks
Full Name:
How to: Protect Workbooks
Short Name:
How to: Protect Workbooks
Type of Entity:
C#
Abstract:
The Protect and Unprotect methods allow you to protect a Microsoft Office Excel 2003 workbook so that users cannot add or delete worksheets, and to unprotect the workbook again. You can optionally specify a password, indicate whether you want the structure protected (so users cannot move sheets around), and indicate whether you want the workbook's windows protected.
MSDN Source URL:
http://msdn2.microsoft.com/7czw9wzs.aspx