|Visual Basic (Declaration)|
Public Event ActiveSheetChanged() As EventHandler
|Visual Basic (Usage)||Copy Code|
public event EventHandler ActiveSheetChanged()
This example raises the event when the user clicks on another sheet.
|Visual Basic||Copy Code|
This event is raised by the OnActiveSheetChanged method when the user has changed the active sheet.