Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

AppEvents_SheetActivateEventHandler Delegate 

A Delegate type used to add an event handler for the SheetActivate event. The SheetActivate event occurs when any sheet is activated.

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

'Usage
Sub Sub1(Sh As Object)
End Sub
Dim appEvents_SheetActivateEventHandler1 As New AppEvents_SheetActivateEventHandler(AddressOf Sub1)

public delegate void AppEvents_SheetActivateEventHandler(
	[In] object Sh
);
public delegate void AppEvents_SheetActivateEventHandler(
	/*in*/System.Object Sh
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters

Sh

The activated sheet. Can be a Chart or Worksheet object.

Development Platforms

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

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft