編輯

共用方式為


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

public delegate void AppEvents_SheetSelectionChangeEventHandler(System::Object ^ Sh, Range ^ Target);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void AppEvents_SheetSelectionChangeEventHandler(object Sh, Range Target);
Public Delegate Sub AppEvents_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