WorkbookEvents_ActivateEventHandler Delegate 

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

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Usage

Sub Sub1()
End Sub
Dim workbookEvents_ActivateEventHandler1 As New WorkbookEvents_ActivateEventHandler(AddressOf Sub1)

Syntax

Public Delegate Sub WorkbookEvents_ActivateEventHandler()
public delegate void WorkbookEvents_ActivateEventHandler();
public delegate Void WorkbookEvents_ActivateEventHandler();
public delegate void WorkbookEvents_ActivateEventHandler();
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Excel Namespace