Application.WindowDeactivate Event
PowerPoint Developer Reference |
Occurs when the application window or any document window is deactivated.
Syntax
expression.WindowDeactivate(Pres, Wn)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Pres | Required | Presentation | The presentation displayed in the deactivated window. |
Wn | Required | DocumentWindow | The deactivated document window. |
Example
This example finds the file name (without its extension) for the presentation in the window that is being deactivated. It then appends the .htm extension to the file name and saves it as a Web page in the same folder as the presentation.
Visual Basic for Applications |
---|
|
See Also