DocEvents_ActivateEventHandler Delegate
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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)

'Declaration
Public Delegate Sub 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

Show:
© 2016 Microsoft