NewWindow Method

Microsoft Excel Visual Basic

NewWindow Method

       

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