WindowSelectionChange Event Example
This example determines when a different slide is being selected and changes the background color of the newly selected slide.
Private Sub App_WindowSelectionChange(ByVal Sel As Selection)
With Sel
If .Type = ppSelectionNone Then
With .SlideRange(1)
.ColorScheme.Colors(ppBackground).RGB = _
RGB(240, 115, 100)
End With
End If
End With
End Sub