Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 885 Bytes

Excel.Workbook.WindowResize.md

File metadata and controls

44 lines (28 loc) · 885 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Workbook.WindowResize event (Excel)
vbaxl10.chm503082
vbaxl10.chm503082
Excel.Workbook.WindowResize
6e473482-fe16-03a2-7a27-b0cd9535c3e6
05/29/2019
medium

Workbook.WindowResize event (Excel)

Occurs when any workbook window is resized.

Syntax

expression.WindowResize (Wn)

expression A variable that represents a Workbook object.

Parameters

Name Required/Optional Data type Description
Wn Required Window The resized window.

Example

This example runs when any workbook window is resized.

Private Sub Workbook_WindowResize(ByVal Wn As Excel.Window) 
 Application.StatusBar = Wn.Caption & " resized" 
End Sub

[!includeSupport and feedback]