Workbook.Windows (Excel)

Returns a Windows collection that represents all the windows in the specified workbook.

Using this property without an object qualifier is equivalent to using Application.Windows. This property returns a collection of both visible and hidden windows.


Dim wndsWindows As Windows
Set wndsWindows = ActiveWorkbook.Windows