Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.ProtectedViewWindowBeforeClose Event (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Occurs immediately before a protected view window or a document in a protected view window closes.

Syntax

expression. ProtectedViewWindowBeforeClose( ProtViewWindow, ProtectedViewCloseReason, Cancel )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
ProtViewWindowRequiredProtectedViewWindowThe protected view window that is closed.
ProtectedViewCloseReasonRequiredPpProtectedViewCloseReasonA constant that specifies the reason the protected view window is closed.
CancelRequiredBooleanFalse when the event occurs. If the event procedure sets this argument to True, the window does not close when the procedure is finished.

Return Value

nothing

Remarks

If the ProtectedViewWindowsBeforeClose event is called as part of theProtectedViewWindow.Edit method, setting Cancel to True produces no action.

See also

Concepts

Application Object

© 2018 Microsoft