Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WorkbookEvents_SheetSelectionChangeEventHandler Delegate 

A Delegate type used to add an event handler for the SheetSelectionChange event. The SheetSelectionChange event occurs when the selection changes on any worksheet (doesn't occur if the selection is on a chart sheet).

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

Sub Sub1(Sh As Object, _
	Target As Range)
End Sub
Dim workbookEvents_SheetSelectionChangeEventHandler1 As New WorkbookEvents_SheetSelectionChangeEventHandler(AddressOf Sub1)

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



The worksheet that contains the new selection.


The new selected range.

Development Platforms

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

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.