WindowDeactivate Event

WindowDeactivate Event

See Also         Example         Applies To

Occurs when the application window or any document window is deactivated.

Syntax

Private Sub application_WindowDeactivate(ByVal Pres As Presentation, ByVal Wn As DocumentWindow)

application   An object of type Application declared with events in a class module. For information about using events with the Application object, see Using Events with the Application Object.

Pres   The presentation displayed in the deactivated window.

Wn   The deactivated document window.