編輯

共用方式為


DocEvents_Event Interface

Definition

Events interface for Microsoft Excel Worksheet object events.

public interface class DocEvents_Event
[System.Runtime.InteropServices.ComVisible(false)]
public interface DocEvents_Event
Public Interface DocEvents_Event
Derived
Attributes

Events

Activate

Occurs when a worksheet is activated.

BeforeDelete

The BeforeDelete event occurs before any sheet is deleted.

BeforeDoubleClick

Occurs when a worksheet is double-clicked, before the default double-click action.

BeforeRightClick

Occurs when a worksheet is right-clicked, before the default right-click action.

Calculate

Occurs after the worksheet is recalculated.

Change

Occurs when cells on the worksheet are changed by the user or by an external link.

Deactivate

Occurs when the worksheet is deactivated.

FollowHyperlink

Occurs when you click any hyperlink on a worksheet. For application- and workbook-level events, see the SheetFollowHyperlink event.

LensGalleryRenderComplete

Occurs when a callout gallery’s icons (dynamic and static) have completed rendering.

PivotTableAfterValueChange

Occurs after a cell or range of cells inside a PivotTable are edited or recalculated (for cells that contain formulas).

PivotTableBeforeAllocateChanges

Occurs before changes are applied to a PivotTable.

PivotTableBeforeCommitChanges

Occurs before changes are committed against the OLAP data source for a PivotTable.

PivotTableBeforeDiscardChanges

Occurs before changes to a PivotTable are discarded.

PivotTableChangeSync

Occurs after changes to a PivotTable.

PivotTableUpdate

Occurs after a PivotTable report is updated on a worksheet.

SelectionChange

Occurs when the selection changes on a worksheet.

TableUpdate

Occurs after a Query table connected to the Data Model is updated on a worksheet.

Applies to