Application.Windows Property (Excel)
Returns a Windows collection that represents all the windows in all the workbooks. Read-only Windows object.
This example closes the first open or hidden window in Microsoft Excel.
This example names window one in the active workbook "Consolidated Balance Sheet." This name is then used as the index to the Windows collection.