_Workbook.PasswordEncryptionAlgorithm Property
Returns a String indicating the algorithm Microsoft Excel uses to encrypt passwords for the specified workbook. Read-only.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property PasswordEncryptionAlgorithm As String
Get
'Usage
Dim instance As _Workbook
Dim value As String
value = instance.PasswordEncryptionAlgorithm
string PasswordEncryptionAlgorithm { get; }
Property Value
Type: System.String
Remarks
Use the SetPasswordEncryptionOptions method to specify whether Excel encrypts file properties for password-protected workbooks.