Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a second, working copy of the EncryptionProvider object's encryption session for a file that is about to be saved.
Syntax
expression.CloneSession(SessionHandle)
expression An expression that returns an EncryptionProvider object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
SessionHandle | Required | Long | The ID of the cloned session. |
Return value
Long
Remarks
The output of this method is another session handle with the same encryption settings. When an autoSave operation occurs, you are provided with this session handle.
See also
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.