Application.WindowSelectionChange Event
PowerPoint Developer Reference |
Occurs when the selection of text, a shape, or a slide in the active document window changes, whether in the user interface or in code.
Syntax
expression.WindowSelectionChange(Sel)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Sel | Required | Selection | Represents the object selected. |
Example
This example determines when a different slide is being selected and changes the background color of the newly selected slide.
Visual Basic for Applications |
---|
|
See Also