編輯

共用方式為


AppEvents_WindowActivateEventHandler Delegate

Definition

A Delegate type used to add an event handler for the WindowActivate event. The WindowActivate event occurs when any workbook window is activated.

public delegate void AppEvents_WindowActivateEventHandler(Workbook ^ Wb, Window ^ Wn);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void AppEvents_WindowActivateEventHandler(Workbook Wb, Window Wn);
Public Delegate Sub AppEvents_WindowActivateEventHandler(Wb As Workbook, Wn As Window)

Parameters

Wb
Workbook

The workbook displayed in the activated window.

Wn
Window

The activated window.

Attributes

Applies to