NewWindow Method

Applies To

Window Object, Workbook Object.

Description

Creates a new window for the workbook, or a copy of the specified window.

Syntax

object.NewWindow

object

Required. The Window or Workbook object.

Example

This example creates a new window for the active workbook.


ActiveWorkbook.NewWindow