Skip to main content

Application.WindowActivate event

Table of contents
  1. Syntax
  2. Parameters
  3. Remarks

Occurs when any workbook window is activated.

Syntax

expression.WindowActivate (WbWn)

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Wb Required Workbook The workbook displayed in the activated window.
Wn Required Window The activated window.

Remarks

For information about how to use event procedures with the Application object, see Using events with the Application object.

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>