Description
Sets or returns the password used to encrypt the spreadsheet. Standard "Office 97/2000 Compatible" encryption is used to encrypt the spreadsheet. This is the default encryption used by Excel 97 and later versions.
C#
vb.net
Remarks
To further protect your spreadsheet, you can protect the workbook structure using the Workbook.Protect() method or write-protect individual worksheets using the Worksheet.Protect() method.Examples
C#
vb.net