NewWindow Method

Applies To

Window object, Workbook object.

Description

Creates a new window or a copy of the specified window.

Syntax

expression.NewWindow

expression Required. An expression that returns a Window or Workbook object.

Example

This example creates a new window for the active workbook.

ActiveWorkbook.NewWindow