This documentation is archived and is not being maintained.

DocEvents_ActivateEventHandler Delegate 

A Delegate type used to add an event handler for the Activate event. The Activate event occurs when a worksheet is activated.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Sub Sub1()
End Sub
Dim docEvents_ActivateEventHandler1 As New DocEvents_ActivateEventHandler(AddressOf Sub1)

public delegate void DocEvents_ActivateEventHandler();
public delegate void DocEvents_ActivateEventHandler();
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms