Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DocEvents_ActivateEventHandler Delegate
Collapse the table of content
Expand the table of content

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 microsoft.office.interop.excel.dll)

'Usage
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

Community Additions

ADD
Show:
© 2015 Microsoft