Export (0) Print
Expand All
Expand Minimize

_Workbook.PasswordEncryptionKeyLength Property

Returns an Integer indicating the key length of the algorithm Microsoft Excel uses when encrypting passwords for the specified workbook. Read-only.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

int PasswordEncryptionKeyLength { get; }

Property Value

Type: System.Int32

Use the SetPasswordEncryptionOptions method to specify whether Excel encrypts file properties for the specified password-protected workbook.

Community Additions

© 2014 Microsoft