Edit

Share via


WorkbookEvents_SheetSelectionChangeEventHandler Delegate

Definition

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).

public delegate void WorkbookEvents_SheetSelectionChangeEventHandler(System::Object ^ Sh, Range ^ Target);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void WorkbookEvents_SheetSelectionChangeEventHandler(object Sh, Range Target);
Public Delegate Sub WorkbookEvents_SheetSelectionChangeEventHandler(Sh As Object, Target As Range)

Parameters

Sh
Object

The worksheet that contains the new selection.

Target
Range

The new selected range.

Attributes

Applies to