Workbook.Windows Property
Gets a Microsoft.Office.Interop.Excel.Windows collection that represents all the windows in the workbook.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
ReadOnly Property Windows As Windows
Get
Windows Windows { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.Windows
A Microsoft.Office.Interop.Excel.Windows collection that represents all the windows in the workbook.
Remarks
This property returns a collection of both visible and hidden windows.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.