Edit

Share via


_Workbook.PasswordEncryptionKeyLength Property

Definition

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.

Applies to