_Workbook.PasswordEncryptionKeyLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an Integer indicating the key length of the algorithm Microsoft Excel uses when encrypting passwords for the specified workbook. Read-only.
public:
property int PasswordEncryptionKeyLength { int get(); };
public int PasswordEncryptionKeyLength { get; }
Public ReadOnly Property PasswordEncryptionKeyLength As Integer
Property Value
Remarks
Use the SetPasswordEncryptionOptions(Object, Object, Object, Object) method to specify whether Excel encrypts file properties for the specified password-protected workbook.