NewWindow Method

Microsoft Excel Visual Basic

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

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