Application.ActiveEncryptionSession property (Word)

Returns a Long that represents the encryption session associated with the active document. Read-only.

Syntax

expression. ActiveEncryptionSession

expression An expression that returns an Application object.

Remarks

The encryption provider mechanism manages each file on a separate process, so each file is associated with a separate encryption session.

Note

This property applies only when a document implements custom encryption.

See also

Application Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.