Windows Object (Excel)
Published: July 16, 2012
A collection of all the Window objects in Microsoft Excel.
Use the Windows property to return the Windows collection. The following example cascades all the windows that are currently displayed in Microsoft Excel.
Use the NewWindow method to create a new window and add it to the collection. The following example creates a new window for the active workbook.
Use Windows(index), where index is the window name or index number, to return a single Window object. The following example maximizes the active window.
Note that the active window is always Windows(1).